Re: Macro for table problems
- From: "john@xxxxxxxxxxxxx" <john@xxxxxxxxxxxxx>
- Date: 12 Oct 2006 15:35:01 -0700
Clive
Do I take it that I am "the OP"?
I confess that I DID read your article several times, once with a
colleague who is more technically experienced than me, and we both had
difficulty following it. To a non-techie it isn't straightforward. For
what it's worth we did try and follow John's steps and include an
adjacent paragraph mark (which I managed to pick out of your article),
but it still didn't work.
Please don't assume we non-techies want everything on a plate. I have
spent several hours trying to follow the various advices. Blame my
stupidity, but not my lack of effort.
John
Clive Huggan wrote:
"I think one problem you're having is that you are trying to avoid getting
into the detail"
This would be supported by the OP apparently not bothering to look at the
reference I gave to the article in which I describe a series of steps in
detail to make customized tables an AutoText item. The only complexity, if
it is that, is involved in the table example initially chosen, and I discuss
the various pros and cons about the design alternatives to make the choice
appropriate to one's requirements. Additionally, by including an adjacent
paragraph mark the method avoids problems that particularly occur when
copying and pasting because of a bug in the Table style introduced in Word
2004. And so on. Why don't I post it here? Because it is longer than the
usual post and because I would be unable to include an actual example.
Still, the next version of Word will cater to those who don't want to get
into the detail. Maybe the OP should wait till then... :-\
Clive Huggan
==============
On 12/10/06 8:54 PM, in article C1545C12.4E2B0%john@xxxxxxxxxxx, "John
McGhie [MVP - Word and Word Macintosh]" <john@xxxxxxxxxxx> wrote:
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
.
- Follow-Ups:
- 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
- Re: Macro for table problems
- From: John McGhie [MVP - Word and Word Macintosh]
- Re: Macro for table problems
- From: Clive Huggan
- Macro for table problems
- Prev by Date: Re: The File .docx is not available
- Next by Date: Re: a better i-bar?
- Previous by thread: Re: Macro for table problems
- Next by thread: Re: Macro for table problems
- Index(es):
Relevant Pages
|