A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Column widths don't keep width set by macro



 
 
Thread Tools Display Modes
  #1  
Old October 26th, 2007, 05:52 PM posted to microsoft.public.word.tables
christophercbrewster via OfficeKB.com
external usenet poster
 
Posts: 143
Default Column widths don't keep width set by macro

I have a macro that creates a table for showing procedure steps. When I step
through the macro, I have a correct table. But when I *run* the macro, the
column widths mysteriously revert to equal. (That is, they go from .5 and 5.5
to 3 and 3.) The table is set for FixedWidth, and just for good measure I
added "Selection.Tables(1).AllowAutoFit = False". (And it worked yesterday!)
What would be overriding this setting?

--
Christopher Brewster
Lockheed Martin, Eagan MN

Message posted via http://www.officekb.com

  #2  
Old October 26th, 2007, 06:08 PM posted to microsoft.public.word.tables
christophercbrewster via OfficeKB.com
external usenet poster
 
Posts: 143
Default Column widths don't keep width set by macro

I got the macro working after some messing around. But I still don't know
what caused the problem-- or what solved it.

christophercbrewster wrote:
I have a macro that creates a table for showing procedure steps. When I step
through the macro, I have a correct table. But when I *run* the macro, the
column widths mysteriously revert to equal. (That is, they go from .5 and 5.5
to 3 and 3.) The table is set for FixedWidth, and just for good measure I
added "Selection.Tables(1).AllowAutoFit = False". (And it worked yesterday!)
What would be overriding this setting?


--
Christopher Brewster
Lockheed Martin, Eagan MN

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ables/200710/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.