
Gung ho newbie - stuck at # 3 on the MVP - VBA basics in 15 minutes
Probably the tutorial assumes you have no macros yet. Since you do,
just go the very bottom of the window, and on a new line, type:
Sub xxx
where xxx is *not* the name of any existing macro. As soon as you
hit Enter you'll be placed between that line and an End Sub line
(which will appear without you typing it) and can type code there
without hurting any of your existing macros.
------ WWW: http://www.speakeasy.org/~mtangard ----------------------
------------- "Life is nothing if you aren't obsessed." --John Waters
---------------------------------------------------------------------
Quote:
> I am afraid to admit that I never find Windows intuitive - maybe because I
> am left handed, I don't know, but it is always the simplest things which
> throw me.
> I have made a few macros using the recorder and have copied some from the
> MVP site successfully. Now I am ready to try VBA and when I read the
> "Getting to grips with VBA basics in 15 minutes I get stuck at:
> # 2 Press F7 to view a code window. I have a code window show up when I
> open VBA and all my macros are listed in it.
> # 3 Click in the code window and type ActiveDocument.
> My problem - since all my macros are listed in this document, I don't really
> want to type anything in it. I did try typing it in and then deleting it.
> But I would really like to have clean window to try these things in.
> Do I need to set something differently? Or what? Any suggestions for me?
> Thanks very much for your help.
> Diane