Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Sheets
Message
 
À
30/04/2004 12:52:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00899822
Message ID:
00899853
Vues:
17
Thanks, Cetin. I always had problem with moving after the very last sheet.
And for years I used the trick: add the blank sheet, insert before, and remove the blank sheet. Thanks again


>Yuri,
>Try passing .null. as before parameter
>Cetin
>
>>expression.Move(Before, After)
>>
>>For unknown reason I was never able to use "after:" for Move, only "before:". It accepts only one parameter and treats it as "before:".
>>
>>>Hello,
>>>
>>>I'm trying to automate the creation of a workbook by inserting specific sheets from different workbooks. There is a problem in the syntax of my move which I can't seem to pinpoint.
>>>
>>>
>>>My code:
>>>myExcel.Application.Workbooks(2).Sheets(1).Move ;
>>> After:=myExcel.Application.Workbooks(1).Sheets(1)
>>>
>>>Thanks in advance!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform