Userform in word

G

Guest

I've cracked my head since 4 am trying to understand Visual Basic and
determined I'm hopeless. I've read for hours and hours about creating a
userform and tried to duplicate what was laid out in mvps.org Create A
userform. Something is wrong and I can't figure it out. I did exactly as
instructed and keep getting compile error - invalid use of property pointing
seemingly to range. I've typed exactly as in the example including Range_ ,
Range, and just can't get it to work. HELP. I've tried the other ways of
populating information in the document but for various reasons, the userform
is the best choice but I can't make it work.
 
G

Greg

Suzie,

I just did it step by step and it works as advertised. You mention
"typed exactly as in the example including Range_ , Range"? Hmm, the
instructions do not mention typing Range_, Range anywhere.

Entering the ling break _ can often cause compile errors. Instead of
manually typing the code in, try copy and paste. Sorry that you are
having frustrations, but it does work.
 
D

Doug Robbins - Word MVP

If you need to put a VBA linebreak character, there must be a single space
between the last letter and the _

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top