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 / August 2006

Tip: Looking for answers? Try searching our database.

Can I dynamically change document style through a userform?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Abhilash - 20 Aug 2006 08:47 GMT
Hi,

I have created a VBA program.
Now I am trying to change  the font of the already selected text in the
activedocument through a user form. Currently it doesnot change dynamically.
If I close the user form the document reflects the changes.

Could you please suggest me how to do this?
Signature

Abhilash

Cindy M. - 20 Aug 2006 10:01 GMT
Hi =?Utf-8?B?QWJoaWxhc2g=?=,

> I have created a VBA program.
> Now I am trying to change  the font of the already selected text in the
> activedocument through a user form. Currently it doesnot change dynamically.
> If I close the user form the document reflects the changes.

It should be changing, but you might not be seeing it.

1. Where do you have the code to make the change (which event are you using)?

2. You don't have an Application.ScreenUpdating = False in your code,
anywhere?

3. If you put an Application.ScreenRefresh call in at the end of the procedure
that's changing the formatting does that help?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
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.