Drew Wutka
DWUTKA at marlow.com
Fri Apr 25 01:41:53 CDT 2003
Actually, that is the core of this discussion. Because Access Macros are just as powerful as VBA, since they have a RunCode command. Sure, it's moronic to write code, and run them all 'through' macros, but it definitely means that macros in Access can be more powerful then they appear. So the real difference, IMHO, is that a macro is a term used to describe a simple user automation interface, regardless of what they look like inside. Macros in general are 'simplistic' to write....for a common user. However, in Excel and Word macros can be built completely with code, never using the recorder, and since the macro IS VBA, they blend into VBA more fluidly then in Access. You still have strictly VBA capabilities in Excel and Word (events, forms, etc.) so macros in Excel/Word do not completely embody VBA. The blurry distinction is just 'crisper' in Access since the macro design window is a stepped command process, versus a recorder. Quite frankly I think they should have a macro recorder in VBA, but I think the issue with dealing with db data makes that a very daunting task. Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Thursday, April 24, 2003 12:22 PM To: accessd at databaseadvisors.com Subject: [AccessD] Macros An Access Macro is not the same as a macro in Word or Excel or Powerpoint. In access its more recording an action. In WOrd and Excel and Powerpoint its writing code - VBA code. Thus its a good way to learn the model for those apps. Now how they actually work in Access, I think all they do is actuallyc arry out a menu command. They dont have the power of a Word Macro for example. Teh one I posted opens a document located in the file system. If I had wanted to I could have then applied styles etc to that doc and then the appropriate code would be created. Dont think an Access Macro will do that. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com