Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
New 2003 Install & Macros
There were some changes in the calendar macro from 2000 to 2003. The day
dates are centered instead of left justified and there are no lines between the dates. It is simple to add these things each time, but I thought I would write a macro that selects all the days, then left justifies followed by 'Borders and Shading-Grid' to restore it to the 2000 version. I get the macro started up to the recording phase but nothing will record, the tape icon is present and the mouse works but clicking will not select the dates. What am I doing wrong here? TIA |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
New 2003 Install & Macros
There are many mouse actions that cannot be recorded using the macro
recorder. It should however be possible to create the necessary commands directly in the Visual Basic Editor. The following may do what you want: Dim acell As Cell Dim arow As Row Dim aborder As Border With ActiveDocument.Tables(1) For Each arow In .Rows For Each acell In arow.Cells acell.VerticalAlignment = wdCellAlignVerticalCenter acell.Range.Paragraphs.Alignment = wdAlignParagraphLeft Next acell Next arow For Each aborder In .Borders aborder.Visible = True Next aborder End With -- 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 "Andy Whitney" wrote in message ... There were some changes in the calendar macro from 2000 to 2003. The day dates are centered instead of left justified and there are no lines between the dates. It is simple to add these things each time, but I thought I would write a macro that selects all the days, then left justifies followed by 'Borders and Shading-Grid' to restore it to the 2000 version. I get the macro started up to the recording phase but nothing will record, the tape icon is present and the mouse works but clicking will not select the dates. What am I doing wrong here? TIA |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
New 2003 Install & Macros
Consider creating and applying a paragraph style. Applying can be done with
a macro or a replace action. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Andy Whitney" wrote in message ... There were some changes in the calendar macro from 2000 to 2003. The day dates are centered instead of left justified and there are no lines between the dates. It is simple to add these things each time, but I thought I would write a macro that selects all the days, then left justifies followed by 'Borders and Shading-Grid' to restore it to the 2000 version. I get the macro started up to the recording phase but nothing will record, the tape icon is present and the mouse works but clicking will not select the dates. What am I doing wrong here? TIA |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Do I lose macros and auto text when upgrading to Office 2003? | Microsoft Word Help | |||
Can't see email images using Word 2003 and Outlook 2003 | New Users | |||
word 2000 runtime error after install visio 2003 | Microsoft Word Help | |||
How to install a German and a Dutch spellcheck? Recent Word 2003 . | Microsoft Word Help | |||
In Office Word 2003 how eliminate message "macros are disabled"? | Microsoft Word Help |