Re: Macro for table problems
- From: "John McGhie [MVP - Word and Word Macintosh]" <john@xxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 20:54:42 +1000
Hi John:
Before saving your table as an AutoText, select the table and use
Format>Style to Apply "Table Normal" style.
I suspect you have a Table style applied and have not realised it. Table
Styles were new in Word 2004. They are quite hard to get rid of once you
have a table style stuck in use.
1) Basically, create a blank document, then insert a new table.
2) Use Table>Insert>Table....
3) Make sure you choose AutoFormat and set it to (none) -- which is right at
the top of the list.
4) Now select the entire table and choose Format>Style
5) Choose the "Table Normal" style and Apply
Save THAT as your AutoText or AutoCorrect and the borders should go away and
stay away.
There's three sources of formatting for a table in Word: The Format>Borders
and Shading dialog, the Table>...>AutoFormat dialog, and the Format>Style...
Dialog. You have to set "None" in all three to kill the unwanted borders.
Read the following Word help topics:
"About borders and shading"
"Add a border to a table or group of cells"
"Change a border in a table"
"What types of styles can you create and apply?"
"Create a new table style"
I think one problem you're having is that you are trying to avoid getting
into the detail. But you're in a complex area: digging a little deeper will
enable you to understand the tools involved a lot better.
Cheers
On 12/10/06 3:37 AM, in article
1160588271.925401.211690@xxxxxxxxxxxxxxxxxxxxxxxxxxxx, "john@xxxxxxxxxxxxx"
<john@xxxxxxxxxxxxx> wrote:
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
--
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
.
- Follow-Ups:
- Re: Macro for table problems
- From: john@xxxxxxxxxxxxx
- Re: Macro for table problems
- From: Clive Huggan
- Re: Macro for table problems
- References:
- Macro for table problems
- From: john@xxxxxxxxxxxxx
- Re: Macro for table problems
- From: Daiya Mitchell
- Re: Macro for table problems
- From: john@xxxxxxxxxxxxx
- Re: Macro for table problems
- From: Beth Rosengard
- Re: Macro for table problems
- From: john@xxxxxxxxxxxxx
- Re: Macro for table problems
- From: John McGhie [MVP - Word and Word Macintosh]
- Re: Macro for table problems
- From: john@xxxxxxxxxxxxx
- Macro for table problems
- Prev by Date: Re: Spell check and Grammer disappeared
- Next by Date: Re: Restoring Autorecovery of Normal Template?
- Previous by thread: Re: Macro for table problems
- Next by thread: Re: Macro for table problems
- Index(es):
Relevant Pages
|