Hi !
xltoright -> -4161. You find it in VBA Editor: Menu, View, Object Browser (F2.
Or run Excel macro from VFP:
Ex = CreateObject("Excel.Application"
Ex.Workbooks.Open("YourXlsWithMacro.xls"
Ex.Run('YourXlsWithMacro.xls!ThisWorkBook.NameOfMacro', var1, var2, ....) or without variables.
Regards from Monika (Warszawa - Poland)
(monikai@yahoo.com)
statement into VFP and running out of ideas; keep getting the errors. Would highly appreciate if some one could give me a hand with the conversion. Thanks in advance!
1. Instead of trying to add on to an existing posting on a different specific question, post your own question separately.
2. Post your Excel Automation question on the forum specific to VFP Excel Automation
Microsoft: VFP - Automation, Mail & 3rd Party Svcs Forum
forum1251
3. Tell us what you are trying to accomplish. The Excel VBA code that you posted, by itself, does not give us (at least me) too much help in understanding what you are trying to accomplish. Many times I have found that getting VFP Excel Automation to work involves more than a single line command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.