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 / April 2007

Tip: Looking for answers? Try searching our database.

Shortcut in userform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Flip - 17 Apr 2007 08:48 GMT
Hi NG,
Is it possible to somehow add a shortcut to a userform? I would like to give
users a way to quickly edit a supporting worddoc (which is at their own PC
or in the LAN) for the document they are actually working at.

Flip
Flip - 17 Apr 2007 12:25 GMT
Well, I can answer myself partially:
Write some code to open the supporting document over the first one. Don't
forget to first hide the userform. Put all of this behind a command button.
This works ok unless I press the new button rightaway.

The userform is called in an autonew macro (choose and put an adress from
the other doc in the main doc). Pressing the command button while still in
the Autonew
macro is not good because the main doc was not open yet. So after hiding the
userform both docs open, mixing text from doc 1 into 2. Great :-/

For now I removed the command button from the userform en put the code in a
macro that can be called from a toolbar in the main document. There is
another button to call the userform again so users can still switch easily.

Thanks anyway,
Flip

> Hi NG,
> Is it possible to somehow add a shortcut to a userform? I would like to
> give users a way to quickly edit a supporting worddoc (which is at their
> own PC or in the LAN) for the document they are actually working at.
>
> Flip
 
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.