Re: UserForm error
- From: Jay Freedman <jay.freedman@xxxxxxxxxxx>
- Date: Tue, 23 May 2006 23:42:29 -0400
Glad I could help.
For reading, start at
http://www.word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm and then
read anything else at http://word.mvps.org/FAQs/MacrosVBA/index.htm
and http://word.mvps.org/FAQs/Userforms/index.htm that looks
interesting.
Then go look at the articles and books listed at
http://word.mvps.org/Tutorials/index.htm and
http://word.mvps.org/Tutorials/FreeToAccess.htm.
Of course, if you still have questions, ask them here!
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
On Tue, 23 May 2006 08:32:01 -0700, Diana Morrison
<DianaMorrison@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
You're right - worked instantly! Thanks so much..
Any recommended reading on this subject? I'd like to be able to better
understand and work with vba for Word.
Thanks!
Diana
"Jay Freedman" wrote:
The probable reason, if you retyped the code instead of using cut&paste, is
that you didn't put in the space before the underscore at the ends of the
lines in
.Bookmarks("Text1").Range _
.InsertBefore TextBox1
.Bookmarks("Text2").Range _
.InsertBefore TextBox2
Because of the font of the web page, those spaces are hard to see, but VBA
requires them.
For an explanation of the underscores, see
http://word.mvps.org/FAQs/MacrosVBA/_AtEndOfLine.htm.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
Diana Morrison wrote:
I am having trouble with an error message: Compile error: method or
data not found (followed "How to create a Userform" by Doug Robbins).
So, I created a test document following the exact instructions in the
same article and I still get the same message. Can you help?
- References:
- Re: UserForm error
- From: Jay Freedman
- Re: UserForm error
- Prev by Date: Re: Stopping AutoClose macro
- Next by Date: Re: Recording Data from a VBA macro
- Previous by thread: Re: UserForm error
- Next by thread: Re: Combo Box problems again
- Index(es):
Relevant Pages
|