Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation Help
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Excel Automation Help
Divers
Thread ID:
00891618
Message ID:
00891618
Vues:
82
I've recorded an Excel macro which I'm trying to duplicate from VFP using Automation. I've got it all working except one thing:

Selection.Insert Shift:=xlDown

Here is the whole macro for reference:
Sub create_new_week()
'
' create_new_week Macro
' Macro recorded 10/7/2003
'
    Range(Selection, Selection.End(xlToRight)).Select
    Range("A3:H8").Select
    Selection.Copy
    Selection.Insert Shift:=xlDown
    Range("B4:H6").Select
    Selection.ClearContents
End Sub
How can I automate Selection.Insert Shift:=xlDown?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform