Ole2_object saving problems with .xlt

Hi, i have to change the excel pattern, but it doesnt works to save it.
Maybe xlt is not supported.
I hope anybody could help me.
CREATE OBJECT application 'EXCEL.Application'.
CALL METHOD OF application 'WORKBOOKS' = workbooks.
*Directory of the file. Ive got full permissions
save_text = 'P:VorlagenSN@P PSB Vorlage V1.03.xlt'.
*-----Eine Arbeitsmappe wird geöffnet
CALL METHOD OF workbooks 'Open'
    EXPORTING #1 = save_text.
*-----Mit diesen Befehl laden wir aus Worksheets einen Worksheet der die Exporting
*-----Bedingung erfüllt.
CALL METHOD OF application 'worksheets' = worksheet
EXPORTING
#1 = 'Werte'.
*-----Mit diesen Befehl wird der selektierte Worksheet ausgewählt
*----- Worksheet = Arbeitsblatt
CALL METHOD OF worksheet 'Activate'.
*-----Damit haben wir das blatt definiert
GET PROPERTY OF  application 'ACTIVESHEET' = worksheet.
      save_cell1 = 'A1'.
      save_cell2 = 'F500'.
     save_line = 'A'.
     save_line = 'F'.
CALL METHOD OF worksheet 'RANGE' = range EXPORTING #1 = save_cell1
        #2 = save_cell2.
     CALL METHOD OF range 'SELECT'.
      CALL METHOD OF range 'ClearContent'.
save_counter = 1.
LOOP AT gt_kna1 into ls_kna1.
  ls_auto-Kundennummer = ls_kna1-kunnr.
  Concatenate ls_kna1-name1 ' ' ls_kna1-name2 into ls_auto-name SEPARATED BY ' '.
  CONCATENATE ls_kna1-PSTLZ ' ' ls_kna1-Ort01 into ls_auto-PLZORT SEPARATED BY ' '.
  ls_auto-strasse = ls_kna1-stras.
  ls_auto-land = ls_kna1-Land1.
  append ls_auto to lt_auto.
*----- Befüllen der Excel File
  PERFORM fill_cell USING save_counter 1 ls_auto-kundennummer.
  Perform fill_cell using save_counter 2 ls_auto-name.
  Perform fill_cell using save_counter 3 ls_auto-plzort.
  Perform fill_cell using save_counter 4 ls_auto-strasse.
  Perform fill_cell using save_counter 5 ls_auto-land.
  Perform fill_cell using save_counter 6 ' '.
  save_counter = save_counter + 1.
ENDLOOP.
*SET PROPERTY of application 'Activesheet' = worksheet.
*SET PROPERTY OF application 'VISIBLE' = 1.
CALL METHOD OF application 'FILESAVEAS'
EXPORTING  #1 = 'P:VorlagenSN@P PSB Vorlage V1.03.xlt.xls'.
  #2 = 6.
CALL METHOD OF application 'SAVE'.
CALL SCREEN 100.

are you using semi colons between your parameters in the formula, rather than commas?

Similar Messages

  • Mainstage saving problems with nexus plugin

    I just bought a new macbook pro, 3.06 Ghz 4GB ram, mostly to use it at live performances.
    I'm using Mainstage 2 with the softwaresynths from logic and also Nexus (Refx)
    The problem is that when I've added just a few nexus patches saving takes forever. On a set with about 20 patches (only a few of them are nexus patche) saving might take 3 minutes. Also moving patches up and down in the list takes a long time.
    Also every now and then everything hangs for maybe 15 secs.
    Need help, someone who has the same problem?
    Thanks,
    Arvid

    Here are 2 screenshots illustrating the alignment issue in QTX. The first image is the movie with captions in QT 7 (everything looks perfect):
    http://www.personal.psu.edu/pzb4/QT7.png
    Here is the same movie opened in QT X. I've captured a bit more below and to the right so that you can see my Desktop to show that the movie is displaying off center up and to the left:
    http://www.personal.psu.edu/pzb4/QTX.png
    Notice that the video seems to overlap the dark gray bar at the top of the movie window on the right of the gray bar at the top.
    Message was edited by: Patrick Besong

  • Saving problems with numbers

    I am editing myfile.numbers  on a server, connected using smb, with authentification, the files are in a mounted folder. When I try to save the file, the programs tells me I have no permission to do so, and that I should check the permissions through the "get info" menu. When I do that, the file does no look like myfile.numers anymore; it displays like a folder named "myfile.numbers.sb-38ec...-Qk..L" or something like this.
    If I try to do the same with other programs, I have no problems writing on that server.
    If I edit a numbers file in my local desktop: no problem.
    What is going on?
    Any ideas?

    Hi,
    I´ve the same problem. With Numbers, Pages and Keynote,...but I think that we are the first two with tid problem!!
    I´ll keep searching for a solution. I´ll advise...
    Bye!

  • Saving-problems with the Activity Clipboard in the Interaction Record

    Hi all,
    when we create a contact in the ic record, the business-agreement , the business-partner and the created contact gets displayed in the activity clipboard. But after clearing and calling the created contact again, the bp and business-agreement is not displayed anymore in the activity clipboard.
    Only a follow-up is saved when it was created within the contact.
    I hope anyone can help to fix it, so that these two businessobjects are saved, too.
    Hopefully,
    Fab /Mike

    No one knows?

  • Saving problems with Microsoft Word

    When I try to save my class notes on Microsoft Word 2004, sometimes it works, and other times it will say "Word is connecting to the printer"....and then the program freezes and never unfreezes. When I force quit, I lose my notes for the whole class. Why is it doing this?

    Word saves your page setup inside the document. When you save, it wants to talk to the printer driver, which is probably not made by Apple and likely the flakiest piece of software on your machine.
    If you have a particularly flaky printer driver, it might be a good idea to install a virtual printer and use that as your default printer. Page setup your word documents with the new printer and save. If you want to print to a real printer, save the document with the virtual printer, change the printer, print, don't save.

  • Saving problem with trial version

    I have a trial version. How can I save a file as an mp3 file. I only seem to be able to save as an sesx file. I cannot "save selection as." Does the trial version not allow me to do this?

    bg.thewake wrote:
    Not finding this the easiest programme to get around, Bob. Are there any
    tutorials I can download just to help me get used to all the functions.
    Aside from the documentation that is accessible in the Help menu, there's several resources that are starting to pop up.  I found a bunch just searching for "Audition CS5.5 tutorial" on YouTube.  There's also some videos that are being made on tv.adobe.com.  You can find "Audition" under the Products menu.

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Problems with icloud mail constantly auto-saving

    Problems with icloud mail constantly auto-saving - screen freezes. VERY frustrating. running windows 8. same problem through safari, explorer and chrome. Any suggestions to reduce auto save frequency?

    Hi Csound1
    approx every 30 seconds the browser freezes and 'saving' appears in the top bar of icloud mail. The cursor starts spinning and then after about 8 secs I can start typing again. I also fiund that about 5-6 times a day my icloud browser tab showing mail just close and return to the main icloud menu page showing icons for mail, calender, notes etc

  • I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • I just upgraded to FF 7 and now when I open Firefox none of my history or cookies have been saved. I have checked in options that Firefox will remember my history and all relevant settings but it is not doing it. Is there a problem with this on FF7?

    I just upgraded to FF7 & now when I open it none of my history or cookies are saved. I have checked in options that Firefox will remember my history and all relevant settings but it is not doing it. Is there a problem with FF7?

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    See also "Help About".
    *Tap the Alt key or press F10 to show the Menu bar.
    In current Firefox releases (29 and later) the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button next to the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    *You can make the title bar visible via the "Title Bar" button at the bottom left in the Customize palette window
    It is still possible to have the menu bar visible via the right-click context menu of a toolbar to have menus like the File menu with Print (Ctrl+P) and Print Preview and the Bookmarks menu available.
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox

  • Problem with saving a pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21).

    Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Problems with text box borders, tabbing and saving doc in Acrobat Pro 7.1.0

    When I view my form document in Acrobat Reader, there is a red border around several text boxes
    in which I've selected 'NO border'
    Also, I've selected 'column order' for tabbing, but tabs continue to function in order in which I inserted form item (text box, check box or radial button). Since I didn't insert these consecutively, tabs no jump all around the form instead of proceeding in order from top to bottm and left to right.
    I've checked for Mac Acrobat Pro updates and see that there are three  - 7.1.1, 7.1.3, and 7.1.4, and am downloading them for install.
    Do any of the updates fix these problems? Or how can it be fixed?
    On opening document in Reader, I also get a message informing that document cannot be saved with changes and must be printed, even though I've created it with fillable forms.
    Is there some setting for allowing document to be saved?
    I want to be able to have recipient be able to download form, fill it out, save changes, attach to email and return it to me.

    This has been a problem since version 8 on the mac. Acrobat 7 on the mac worked fine with the right side trim but not on the PC.
    We are still having this problem with Acrobat 9.4.0 on the Mac & PC.
    This has now been an issue for 2 versions of Acrobat Pro.(8 & 9)
    Being in Pre Press and having to constantly set the trim for jobs, this is now taking up too much time and costing money.
    Please fix this Adobe.
    and on another note. how hard would it be to display the trim (if set) next to where the page size is?
    If the trim is set it should display it! why should we have to go to document/crop pages>trim.
    Im in a busy Pre Press Dept and the amount of times you have to check a trim size is stupid.
    I always set prefs to display crop / trim / and bleed boxes and this helps but it should display it if its set.
    Thanks
    Hope this is resolved soon.

  • HT5262 I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device

    I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device

    anduran wrote:
    I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
    Basic  troubleshooting
    Reset
    Restore with back up and if required as new

  • Problem Saving PDF with Opacity Masks in Illustrator CS3

    I'm having trouble exporting an Illlustrator CS3 file to PDF. I have two layers in the the .ai file that have opacity masks applied. When I save the file as a PDF, the two layers with opacity masks seem to disappear (or they are flattened down to white/100% transparency.) They do not show on screen nor when printing. I've tried opening the saved PDF in Illustrator to investigate, and the layers are still there, but with no opacity mask. Where am I going wrong? I've tried a new file with a simple shape and a simple opacity mask, and it exports fine to PDF. So something is wrong with my file set up, but I can't pinpoint what! I have also tried exporting to various versions of PDF, and nothing works. Help!
    Screen cap from Illustrator:
    Screen cap of PDF:
    Correct (Illustrator) with subtle starburst effect:
    Wrong (Acrobat PDf), no starburst!
    Thanks for looking!

    Not sure what's going on in your file, but it's definately having a problem with the Steaks layer. Trying to release the clipping mask and ungrouping all the layers is having a problem so it might have something to do with the way the streaks layer was built.
    Using your file I replaced the streaks layer and put a starburst that's clipped to the icon shape. I've attached two files. One is for Illustrator CC so you can retain the gradient fill on the stroke which is only available in newer versions of Illustrator. The other has the starburst I created expanded so that you can open the file and retain the startburst look.
    CC
    https://dl.dropboxusercontent.com/u/37256756/Go-IconCC.ai
    CS3
    https://dl.dropboxusercontent.com/u/37256756/Go-IconCS3.ai

  • Problems with saving edited photos using Photoshop Elements 5.0 on WIndows 8.

    Since a week I can not save the edited photos - when I try the communicate: "Caould not complete your request because of a program error" appeares. I had no problem with saving edited photos before, with the same software. My computer runs on Windows 8, 64 bit version. My Photoshop Elements is version 5.0. Where is the problem?

    W dniu 2013-06-16 15:36, dj_paige pisze:
    >
    Yes, I did it long ago.

Maybe you are looking for