Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel - Move Sheet
Message
De
02/01/2002 12:55:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/01/2002 12:41:39
Mario Felisbino
Construtora Andrade Gutierrez S/A
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00599813
Message ID:
00599824
Vues:
13
>How move sheet using : Before and After
>
>Ex in VBA:
>
> Sheets("Sheet3").Select
> Sheets("Sheet3").Move Before:=Sheets(2)
>
> Sheets("Sheet1").Select
> Sheets("Sheet1").Move After:=Sheets(3)
>
>
>Thanks
>
>Mario

with oExcel.ActiveWorkbook
.Sheets('Sheet3').Move(.Sheets(2)) && Move Sheet3 before sheets(2)
endwith

As far as I remember there was a problem with 'after'. If I was wrong then syntax would be :

with oExcel.ActiveWorkbook
.Sheets('Sheet1').Move(,.Sheets(3)) && Move Sheet1 after sheets(3)
endwith

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform