Information générale
Catégorie:
COM/DCOM et OLE Automation
oExcel.ActiveSheet.PageSetup.LeftHeader="Hello1"
oExcel.ActiveSheet.PageSetup.CenterHeader="Hello2"
oExcel.ActiveSheet.PageSetup.rightHeader="Hello3"
Help for Excel(Word,...) VBA you can find in the Excel (Word...) itself invoking VBA Help with Alt+ F11, Help ,or separately having help file on the local PC, like VBAXL8.HLP for Excel97.
Also in VFP7 and above you can always see the object available properties and methods typing from comamnd window,like:
?oExcel.
or
lo=oExcel.ActiveSheet.PageSetup
?lo.
>I have been using the info from FoxPro Advisor to control Excel with good results.
>Now, however, I need to change the heading text, and can find no information about that. In fact, I can find no place to get the objects and properties of Excel, or any other product like Word, unless I have VB, which I do not.
>Can anyone help me here?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement