Drew Wutka
DWUTKA at marlow.com
Fri Apr 25 12:20:31 CDT 2003
Hey, no, that's not what I said, and least not what I meant! <grin> I meant that the Macro is just an 'interface' to what is done in the background. In Excel/Word, the macro is what runs a VBA procedure. The VBA procedure IS VBA, but the Macro is just the process that kick starts it. In Access, you have stepped macros, but those steps can also run code, so they are just as powerful as an EXCEL/WORD MACRO. Macros (in either platform) can be triggered by events...they have to be run by the user. (Well, you can 'run' a macro from code within an event...but you know what I mean). I was not saying that macros are as powerful as VBA. Drew -----Original Message----- From: John W. Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, April 25, 2003 7:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Macros Yes, but now you are programming in VB. The argument was that Macros were "just as powerful as VB". If you have to use VB to do something that Macros can't accomplish, then the argument is proven false. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Friday, April 25, 2003 8:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Macros Could it not be called in a function and the function called from the macro? _d "Things are only free to the extent that you don't pay for them." >From: "Jim Dettman" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Macros >Date: Fri, 25 Apr 2003 08:23:56 -0400 > >The other major distinction is that there is no way to call an API function >from a macro. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] > > Sent: Friday, April 25, 2003 8:18 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Macros > > > > >Because Access Macros are just as powerful as VBA, since they have a > > RunCode command. > > > > Nope, gotta disagree there Drew. No developer worth his salt will touch > > macros for development in Access for the simple reason that errors cannot > > be handled. In a runtime errors will dump you to the dos prompt. > > Furthermore there is no facility for getting at the object model. Macros > > are an extremely simplistic "programming language" for power users, and do > > not compare in any way to VB. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com _____ Get your copy today at http://www.eMailBoss.com <http://www.eMailBoss.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030425/96d72df2/attachment-0001.html>