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

Tip: Looking for answers? Try searching our database.

Background Color and Normal.dot

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cory - 15 Mar 2007 18:14 GMT
Greetings,

With the addition of the background color property I have found that setting
the background to dark and the font color to light makes reading much easier
on the eyes.  Unfortunately, I am a little on the lazy side so I wish to have
Word (2007) do this automatically everytime I open or create a new document.  
I figured that starting with new would be easiest, so in Normal.dot>New
Module I put an AutoNew macro that changed the bakground color and text to my
liking.  It works when executed from the immediate window, but not on
loading.  I am at a bit of a loss.  Isn't the AutoNew event handler supposed
to execute when a new document is created using the selected (In this case
Normal.dot) template?

Cory
Greg Maxey - 15 Mar 2007 18:22 GMT
I realize that I am not answering your question, but if you want a
dark background on every new document that is based on normal.dotm and
and normal.dotx why don't you just open the templates, set the
background and save them?

> Greetings,
>
[quoted text clipped - 10 lines]
>
> Cory
Tony Jollans - 19 Mar 2007 14:19 GMT
Greg is correct but I will try to answer the question for anybody that wants
to know.

If you create a new document (File > New) in Word, the event code should run
but it is *not* fired when Word is opened with a new blank document - I have
never come across any explanation for this, it's just the way it is.

Signature

Enjoy,
Tony

>I realize that I am not answering your question, but if you want a
> dark background on every new document that is based on normal.dotm and
[quoted text clipped - 22 lines]
>>
>> Cory
 
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.