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

So here is my situation:

I have a table with 2 columns and an unknown number of rows. I will be
exporting from another program into a Word document that contains this Word
table. I want to force the left column to span from leftmost edge of the
page (0.2" exactly) to 0.75". I then want to force the right column to span
from 0.75" to the right most edge of the page (0.75" from the right which is
about 7.2").

Can I use AutoFormat to do this?

Is there a better way to handle this? Say, templates perhaps?

Can you please give me some input on how to get Autoformat to do this?
Otherwise, can you direct me to information where I can learn more.

Thanks for any help!
Mike
  #2   Report Post  
Posted to microsoft.public.word.tables
Cindy M -WordMVP-
 
Posts: n/a
Default Automatically Formatting column widths

Hi Mike,

I'm not sure I understand the problem. You're inserting a table, and it should
have the given settings. These are made in Table/Table Properties, in the
Columns tab.

But I don't understand what that has to do with exporting from another program
into the document that contains this table?

I have a table with 2 columns and an unknown number of rows. I will be
exporting from another program into a Word document that contains this Word
table. I want to force the left column to span from leftmost edge of the
page (0.2" exactly) to 0.75". I then want to force the right column to span
from 0.75" to the right most edge of the page (0.75" from the right which is
about 7.2").

Can I use AutoFormat to do this?

Is there a better way to handle this? Say, templates perhaps?

Can you please give me some input on how to get Autoformat to do this?
Otherwise, can you direct me to information where I can learn more.


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 :-)

  #3   Report Post  
Posted to microsoft.public.word.tables
bauer172uw
 
Posts: n/a
Default Automatically Formatting column widths

Cindy,

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?

Mike

"Cindy M -WordMVP-" wrote:

Hi Mike,

I'm not sure I understand the problem. You're inserting a table, and it should
have the given settings. These are made in Table/Table Properties, in the
Columns tab.

But I don't understand what that has to do with exporting from another program
into the document that contains this table?

I have a table with 2 columns and an unknown number of rows. I will be
exporting from another program into a Word document that contains this Word
table. I want to force the left column to span from leftmost edge of the
page (0.2" exactly) to 0.75". I then want to force the right column to span
from 0.75" to the right most edge of the page (0.75" from the right which is
about 7.2").

Can I use AutoFormat to do this?

Is there a better way to handle this? Say, templates perhaps?

Can you please give me some input on how to get Autoformat to do this?
Otherwise, can you direct me to information where I can learn more.


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 :-)


  #4   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:07 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"