Re: Macro for table problems



Hi John

I tried this. When I Saved All it asked me did I want to save changes
to template, I said yes. But same result. With a new document
AutoCorrect produced the table with all the properties EXCEPT it gave
it a (what I assumed was the previous default) border.

John

John McGhie [MVP - Word and Word Macintosh] wrote:
Hi John:

Go to Table>Insert>Table and insert a table to your satisfaction. Make sure
you check the box that says "Set as default for new tables".

Now hold down either Shift key and choose "Save All" to force a save of both
the document and the template. That saves the specification for tables like
the one you just produced.

Now go to Tools>Templates and Add-ins and make sure "Automatically update
styles on open" is NOT checked. If it is, it will update your table style
each time you open the document, and if your default table style has
borders, then borders you will have -- every time :-)

If you save this as an Autocorrect, make sure you set "With" to "Formatted
Text" otherwise it won't work properly.

Cheers


On 11/10/06 6:03 AM, in article
1160510606.557536.204030@xxxxxxxxxxxxxxxxxxxxxxxxxxxx, "john@xxxxxxxxxxxxx"
<john@xxxxxxxxxxxxx> wrote:

Hi Beth

I tried this and it worked while the document was open. But when I
saved the document, quit Word, opened again, and tried the Autocorrect,
it produced the table but with borders.

This is what happened with Autotext. Once I save the document, somehow
a defafult of a standard border for the table seems to override my
specs.

Since everyone says that a macro will corrupt, I really would
appreciate learning what I should do.

Many thanks

John

Beth Rosengard wrote:
Hi John,

I always use AutoCorrect instead of AutoText for these things (habit). I
just tried it with a table that had no borders at all and with bold in just
one cell. It reproduces fine.

I don't know why AutoText isn't working for you but try AutoCorrect and see
if it makes a difference.

By the way, when you get rid of table borders, they turn gray; they don't
actually disappear (except when you print). Could that be what you're
seeing?

--
***Please always reply to the newsgroup!***

Beth Rosengard
MacOffice MVP

Mac Word FAQ: <http://word.mvps.org/Mac/WordMacHome.html>
My Site: <http://www.bethrosengard.com>




On 10/8/06 8:18 AM, in article
1160320690.065921.236980@xxxxxxxxxxxxxxxxxxxxxxxxxxx, "john@xxxxxxxxxxxxx"
<john@xxxxxxxxxxxxx> wrote:

Thanks, Dailya. The reason I tried a macro (which MIcrosoft Support
recommended) was that I'd alrady tried Autotext. When I used this, it
produced borders although the table I'd selected had none, and (if I
remember correctly) it didn't have bold in one column as did the
selected table.

John


--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john@xxxxxxxxxxx>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410

.



Relevant Pages

  • Re: Macro for table problems
    ... Now I'm wondering if your Normal template is corrupt. ... remake your AutoText and/or Auto/Correct entry. ... AutoCorrect produced the table with all the properties EXCEPT it gave ... it produced the table but with borders. ...
    (microsoft.public.mac.office.word)
  • Re: Macro for table problems
    ... then create an AutoText item. ... several) involved borders I had set to invisible becoming visible. ... John's template resembled the one I had created, ... I selected John's table for an AutoCorrect entry, ...
    (microsoft.public.mac.office.word)
  • Re: Macro for table problems
    ... Thanks for your response, John. ... then create an AutoText item. ... Save THAT as your AutoText or AutoCorrect and the borders should go away and ... AutoCorrect produced the table with all the properties EXCEPT it gave ...
    (microsoft.public.mac.office.word)
  • Re: Macro for table problems
    ... Before saving your table as an AutoText, ... You have to set "None" in all three to kill the unwanted borders. ... AutoCorrect produced the table with all the properties EXCEPT it gave ... Beth Rosengard wrote: ...
    (microsoft.public.mac.office.word)
  • Re: Macro for table problems
    ... it still wouldn't let me remove the borders. ... then create an AutoText item. ... I tried with the template that John kindly sent direct but, I'm afraid, ... I selected John's table for an AutoCorrect entry, ...
    (microsoft.public.mac.office.word)