FoxProProgrammer
Programmer
Hi folks,
I have a fair amount of experience using Visual Basic with Access applications, and am trying to use some of that experience to write macros in Excel. In VB for Access, you can use DoCmd.SetWarnings False to disable warnings that are presented to users. I typed DoCmd. in Excel and get an object required error. Is this due to a limitation in VB for Excel or do I just need to install a reference to the proper library? In general I am confused by the relationship between VB for Access and other Office products. Isn't it the same VB? If so, why doesn't the same VB syntax work no matter which Office application I am using it with?
Thanks for any assistance,
dz
dzaccess@yahoo.com
I have a fair amount of experience using Visual Basic with Access applications, and am trying to use some of that experience to write macros in Excel. In VB for Access, you can use DoCmd.SetWarnings False to disable warnings that are presented to users. I typed DoCmd. in Excel and get an object required error. Is this due to a limitation in VB for Excel or do I just need to install a reference to the proper library? In general I am confused by the relationship between VB for Access and other Office products. Isn't it the same VB? If so, why doesn't the same VB syntax work no matter which Office application I am using it with?
Thanks for any assistance,
dz
dzaccess@yahoo.com