Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Cindy M -WordMVP-
 
Posts: n/a
Default Automatically Formatting column widths

Hi ?B?YmF1ZXIxNzJ1dw==?=,

The program is exporting the information into an MS word table. Since the
export process creates the table, I have no way to define the column widths
at the time of creation. Rather, what I need to be able to to is to just
size the columns of an existing table at the click of a button (I dont want
the user to go through multiple steps to format this table. Just a few
clicks and voila). Will the Table Autoformat work for this?

No, TableAutoFormat won't give you anything for setting column widths.

If this is being automated, the automation COULD set the widths, of course. $

Other than that, you'd need to provide the facility for the user. I have
trouble imagining a button IN the table, although you could certainly do that
(macrobutton field or ActiveX control).

I'd be more inclined to provide a custom toolbar with a button to pop up an
InputBox or whatever you deem most appropriate. Or you could even have it
bring up Word's built-in dialog box, if that's what you'd prefer.

Another possibility would be to use Events, so that you really do capture the
user "clicking in the table". (WindowSelectionChange), but you'd have to
really think through how/when you'd want it to fire.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically show Styles and Formatting task pane from a template Colinhp Microsoft Word Help 1 November 29th 05 03:03 PM
Formatting and column width problems BethB Tables 0 October 27th 05 10:15 PM
Automatically apply bold formatting as I type noodles Microsoft Word Help 5 October 22nd 05 04:31 AM
How to copy/paste column formatting between rows Robert Tables 4 July 5th 05 08:19 PM
Column widths nanner130 Tables 1 March 2nd 05 03:47 PM


All times are GMT +1. The time now is 02:18 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"