Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2008

Tip: Looking for answers? Try searching our database.

Problem creating Userform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darren Ingram - 22 Feb 2008 11:13 GMT
Hi -
I'm running Word 2000 at work and I'm trying to learn to create a Userform.  
I've been using the article by Doug Robbins on how to create a Userform and
when I code in his example (letter for letter) I get the following error:
Compile error:  Method or data member not found

It seems to be in regards to " .Range_ " in the the line:  
.Bookmarks("Text1").Range_

Can someone please help me?  I'm sure it's a very simple error and one which
is probably a simpler over looked area from me.

Thanks for you future help....

Darren.
Helmut Weber - 22 Feb 2008 14:07 GMT
Hi Darren,

that's why I'm using Courier New for code.

>It seems to be in regards to " .Range_ " in the the line:  
>.Bookmarks("Text1").Range_

The underscore should be preceded by a space
to be recognized as line continuation.
>It seems to be in regards to " .Range _" ...

--

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Vista Small Business, Office XP
Darren Ingram - 22 Feb 2008 14:56 GMT
Thank you... thank you... thank you...that was perfect!!!

It works.



> Hi Darren,
>
[quoted text clipped - 14 lines]
>
> Vista Small Business, Office XP
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.