[mso] Re: Macros

  • From: "Greg Chapman" <greg@xxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Tue, 20 Aug 2002 20:28:10 -0500

The nicest part of VBA is the macro recorder. If you don't understand
the books and help files, you can get a grip on what exactly is being
done by going to Tools->Macros->Record Macro, giving your new macro a
name, clicking Record and then going about doing a number of things in
your spreadsheet. When you're done, press the Stop button on the macro
recorder. To see how the code looks (and it wont' be very useful code
although it will be instructive), press Alt & F11. The Visual Basic
Editor will open and you'll see what's in the macro. To see how it
did/does the job you recorded, press F8 to watch the code execute a line
at a time.

Do this a few times and you'll begin to see how linear code execution is
and how all that strange language operates on your current spreadsheet.
That *should* help you begin to understand the most basic operations and
may help you understand what the books have been trying to explain so
poorly.

Hope that helps!

Greg Chapman
http://www.mousetrax.com 
"Counting in binary is as easy as 01, 10, 11!
With thinking this clear, is coding really a good idea?"


> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx 
> [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Rocky Fithian 
> Sent: Tuesday, August 20, 2002 7:34 PM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Macros
> 
> 
> 
> How does one go about learning how to build macros?  I have tried 
> to read the help files in Excel and I'm just to thick for it 
> the stick in 
> my head or understand.  Is there a tutorial some place?
> Rocky Fithian
> If God doesn't seem near, who moved?
> To check my sites click the link below. 
> http://web.sccoast.net/users/rockyfit/WebPageL> inks.htm
> 
> 
> 
> *************************************************************
> You are receiving this mail because you subscribed to 
> mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx
> 
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
> 
> To Unsubscribe from this group, send an email to 
> mso-request@xxxxxxxxxxxxx?Subject=unsubscribe
> 
> Or, visit the group's homepage and use the dropdown menu.  
> This will also allow you to change your email settings to 
> digest or vacation (no mail). //www.freelists.org/webpage/mso
> 
> To be able to use the files section for sharing files with 
> the group, send a request to mso-moderators@xxxxxxxxxxxxx and 
> you will be sent an invitation with instructions.  Once you 
> are a member of the files group, you can go here to 
> upload/download files: http://www.smartgroups.com/vault/msofiles
> *************************************************************
> 
> 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: