Re: Macro for table problems



One approach, and the one usually recommended for repeating tables:

Forgot the macro (which will break in the next version, anyhow), and save
your custom table as an AutoText (Select it, Insert | AutoText | New, I
think). More info:
http://word.mvps.org/FAQs/Customization/AutoText.htm
(hit reload a few times in Safari, or use a different browser)

I think Bend Word to Your Will may also have notes on this:
http://word.mvps.org/mac/bend/bendwordtoyourwill.html

On 10/8/06 6:24 AM, "john@xxxxxxxxxxxxx" wrote:

Hi Everybody

I've created a table specifying all the properties in Word for Mac
2004.

Since I use the format for this particular table frequently, I've tried
without success to create a macro for it.

I create a macro, insert Table (2 columns x 1 row), go to Table
Properties, tick Preferred Width box and specify width, specify Indent
from Left, go to Borders and Shading and specify No Borders, but then
find that the Preferred Width and Indent measurements have disappeared.
If I do it in reverse order, and then tab Row, I also lose the ticked
Preferred Width measurements. If I go through and complete the other
specs, and go back to Table, the macro doesn't produce the required
table, but seems to insert some properties of its own, like width of
column.

Since the original table appears in the document, I assume that its
properties are valid.

I'll be indebted for advice.

Many thanks

John


--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: <http://word.mvps.org/Mac/WordMacHome.html>
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

.



Relevant Pages

  • Re: how to turn off auto fractions?
    ... To turn it back on, you'll need to run a little macro or a script, or if you ... Sub EnableFractions() ... Daiya Mitchell, MVP Mac/Word ... Word FAQ: http://www.word.mvps.org/ ...
    (microsoft.public.mac.office.word)
  • Re: Marcos
    ... > run a macro in each session of Word, there's a little pause while it loads ... > Daiya Mitchell, MVP Mac/Word ... > Word FAQ: http://www.word.mvps.org/ ...
    (microsoft.public.word.docmanagement)
  • Re: Marcos
    ... I've certainly noticed that the first time I ... run a macro in each session of Word, there's a little pause while it loads ... Daiya Mitchell, MVP Mac/Word ... Word FAQ: http://www.word.mvps.org/ ...
    (microsoft.public.word.docmanagement)
  • Re: Help with macro to find matching data between two worksheets
    ... Set findC = ActiveWorkbook.Sheets.MySearchRange _ ... Prompt:="Enter the alphabetical column letterto specify the column ... I am working on a macro to compare two worksheets to identify matching data. ... the macro looks at the entire worksheet (as specified by the ...
    (microsoft.public.excel.programming)
  • Re: Why not all fields in document are updating?
    ... I'm afraid I'm out of ideas. ... his macro here ... Daiya Mitchell, MVP Mac/Word ... Word FAQ: http://www.word.mvps.org/ ...
    (microsoft.public.word.docmanagement)

Quantcast