Macro for table problems

J

john

Paul

Yes, this worked. But still a mystery to me at least, because this is
the only site that I've had to reload several times from Safari before
it appeared. And it only prints out one page from Firefox.

I think I gave specs in earlier postings: MacWord 2004 v11.2, OSX
10.4.8

John
 
P

Paul Berkowitz

It's to do with the implementation of frames in Front Page, the Windows
program used to make those web pages, and which are not compatible with
Safari. They break some sort of standard protocol, but most browsers other
than Safari know how to read them. I don't know the details because I'm not
an HTML expert. The home Word MVP page, plus all the Mac Word pages, have
been re-done to avoid this problem (and they look much nicer, too). Thank
Beth Rosengard for that. Eventually all the Word MVP pages will be re-done.
Whether that will happen first, or be beaten by Safari 3 in Leopard which is
likely to be able to read the existing pages without refreshing, is anyone's
guess.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi John:

That's one of the "old" pages built using frames. Due to a bug, Safari will
load only three frames per page: our "text" is in the fourth frame :)

As Paul says, if you refresh often enough, Safari will get it eventually.
Of any other browser (including the very ancient Internet Explorer) will get
it on the first try...

Cheers

Paul

Yes, this worked. But still a mystery to me at least, because this is
the only site that I've had to reload several times from Safari before
it appeared. And it only prints out one page from Firefox.

I think I gave specs in earlier postings: MacWord 2004 v11.2, OSX
10.4.8

John

--

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

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
P

Phillip Jones

I've been working off and on with a website designer that does so for a
living to help redesign our site (OssingingDesignGuild). And he says
using frames is poor design to be avoided if possible. If you want to
limit contents so that it only takes up so much space, you can do much
better with tables instead and make the cell padding nothing.

Beth said:
Hi John,

Paul and John have explained the Safari issue so I won't go into that. But
...

I can confirm the Firefox printing issue! As I told you before, Safari will
print all three pages (and now that you know how to access the article in
Safari, it should for you too). Yet Firefox will print only one page. I
even changed the printing option from 'print all pages' to 'print pages 1 to
3' and it still printed just one page.

My guess would be that this has something to do with how Firefox deals with
frames (yes, another frames issue). The reason I think so is that Firefox
prints the site footer at the bottom of that single page while Safari
doesn't print the footer until the end of the article. IOW, the footer
frame is fooling Firefox into thinking the article ends at the bottom of the
visible window.

Sorry about this, but I don't think there's anything we can do to fix this
on our end (other than continue to convert the old frames site to the new
CSS design). It's a bug in Firefox (that will probably never be fixed since
layouts using frames are fading in favor of CSS layouts).

Beth

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 
D

Daiya Mitchell

Yep. The frames were settled on by someone else, probably 10 years ago?
Maybe only 6 or so? Back when frames were state of the art, anyhow. Beth
redesigned the Mac portion of the site, but the rest of the site has
thousands of pages, is maintained by one volunteer (John McGhie), and needs
updated content for Word 2007 anyhow. Long process to redo it, and little
help.

Daiya
 
J

John McGhie [MVP - Word and Word Macintosh]

Thanks Daiya:

Yep: Frames are gone :) Nearly 80 per cent of the site is now converted.

The original poster just happened to pick three of the pages that are "not"
yet converted :)

Given that we're just about to have to re-write most of them, I am not
burning up my entire weekends and late nights on this :)

Cheers


Yep. The frames were settled on by someone else, probably 10 years ago?
Maybe only 6 or so? Back when frames were state of the art, anyhow. Beth
redesigned the Mac portion of the site, but the rest of the site has
thousands of pages, is maintained by one volunteer (John McGhie), and needs
updated content for Word 2007 anyhow. Long process to redo it, and little
help.

Daiya

--

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

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
J

john

Many thanks to you all for the explanations and the hard work you're
putting in.

Because I had problems accessing the MVP pages with Safari (I didn't
know that I had to reload several times), I used Firefox just to be
able to see answers, although I couldn't print them all (apart from
first page), and so I'm been using this site from Firefox.

This hasn't help me to access the advice you've been giving on the
Macro for Table Problems. But at least now I know how to from Safari.
I've also been delayed from trying out your advice on the Table problem
because my iMac stopped working properly, eventually Apple agreed to
replace it, and the brand new replacement iMac wouldn't connect with
the WWW. After much "diagnostics" with AppleCare, they concluded that
the new iMac had hardware problems. They have just replaced it (albeit
one with a German keyboard) and so I hope now, after so long, to try
and implement your solutions. (Am I being overromantic in thinking
that Apple standards were higher before Apple morphed into an iPod
maker?)

Thanks again

John
 
P

Phillip Jones

Maybe we should chip together and buy him a case of Dom Perion(?) to get
the others moved over. ;-)

Daiya said:
Yep. The frames were settled on by someone else, probably 10 years ago?
Maybe only 6 or so? Back when frames were state of the art, anyhow. Beth
redesigned the Mac portion of the site, but the rest of the site has
thousands of pages, is maintained by one volunteer (John McGhie), and needs
updated content for Word 2007 anyhow. Long process to redo it, and little
help.

Daiya

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 
J

john

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John
 
J

john

Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive said:
Hello John,

If it were not that your problem has so far been so intractable, I would not
bother to post this -- I'm not at all confident that it will fix things. But
here goes...

Did you get the same results when trying my suggestion of 13 October?:
"Here's a follow-on suggestion: remove the visibility of the horizontal lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste that
into a new blank document. Select again, then create an AutoText item. Does
your problem persist? It *may* not, since you are creating the item from a
contributed sample -- one which among several other characteristics does not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and hopping
mad that someone had fiddled with Word's established table mechanism, adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word). I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes (i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John
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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
C

Clive Huggan

Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive said:
Hello John,

If it were not that your problem has so far been so intractable, I would not
bother to post this -- I'm not at all confident that it will fix things. But
here goes...

Did you get the same results when trying my suggestion of 13 October?:
"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste that
into a new blank document. Select again, then create an AutoText item. Does
your problem persist? It *may* not, since you are creating the item from a
contributed sample -- one which among several other characteristics does not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and hopping
mad that someone had fiddled with Word's established table mechanism, adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word). I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes (i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
J

john

Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive said:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive said:
Hello John,

If it were not that your problem has so far been so intractable, I would not
bother to post this -- I'm not at all confident that it will fix things. But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste that
into a new blank document. Select again, then create an AutoText item. Does
your problem persist? It *may* not, since you are creating the item from a
contributed sample -- one which among several other characteristics does not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and hopping
mad that someone had fiddled with Word's established table mechanism, adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word). I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes (i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
J

john

Clive

I've tried to adapt the copy of your table, but I can't figure out how
to turn it into two columns rather than one.

John

Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive said:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would not
bother to post this -- I'm not at all confident that it will fix things. But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste that
into a new blank document. Select again, then create an AutoText item. Does
your problem persist? It *may* not, since you are creating the item from a
contributed sample -- one which among several other characteristics does not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and hopping
mad that someone had fiddled with Word's established table mechanism, adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word). I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes (i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
J

john

Clive

I've tried to adapt the copy of your table, but I can't figure out how
to turn it into two columns rather than one.

John

Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive said:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would not
bother to post this -- I'm not at all confident that it will fix things. But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste that
into a new blank document. Select again, then create an AutoText item. Does
your problem persist? It *may* not, since you are creating the item from a
contributed sample -- one which among several other characteristics does not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and hopping
mad that someone had fiddled with Word's established table mechanism, adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word). I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes (i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed), "(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
C

Clive Huggan

Great news, John!

If a macro works for you, go for it! There's nothing inherently "weak"
about doing something in Word via a macro, since all a macro does is trigger
Word's inherent mechanisms (as distinct from triggering them via menus,
toolbar buttons or keyboard shortcuts).

Likewise, it matters not one whit whether you use AutoCorrect or AutoText,
which are essentially the same mechanism, triggered differently. I
personally find it easier to use AutoText to initiate the large variety of
pre-designed tables I have (it's easy to type in the codes -- for example,
"4ch" for 4 columns, horizontal lines only -- in an otherwise blank
paragraph and keying Command-Option-v, without needing to select the
letters) but I could probably use the same codes in AutoCorrect (except that
they may be needed as text in some of my work). But otherwise I nearly
always use AutoCorrect (which I made use of, incidentally, about 10 times in
typing this post).

This all reflects that once one gains a good understanding of Word, there
are almost invariably between two and five ways of doing anything.
Vexatious it may be out of the box, but Word is a wonderfully configurable
application, non?

Cheers,
Clive
=======


Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive said:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would
not
bother to post this -- I'm not at all confident that it will fix things.
But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste
that
into a new blank document. Select again, then create an AutoText item.
Does
your problem persist? It *may* not, since you are creating the item from
a
contributed sample -- one which among several other characteristics does
not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and
hopping
mad that someone had fiddled with Word's established table mechanism,
adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word).
I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes
(i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary
to
do what I describe on page 124 of "Bend Word to Your Will" -- especially in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably
John's
example, you will be eligible to reproduce the problems I have experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
C

Clive Huggan

Thanks for asking this question, John -- I have now added the answer to
"Bend Word to Your Will".

Table menu -> Insert -> Table -> Number of columns [insert a number].

Then specify AutoFit behaviour as: Initial column width Auto (don¹t use
"AutoFit to contents"). Then configure via Format menu -> Borders and
shading -> Borders (do not use the "Split cells" feature on the Table
menu).

Those two "don'ts" are, um, to minimize potential corruption. ;-)

Cheers,

Clive
=======

Clive

I've tried to adapt the copy of your table, but I can't figure out how
to turn it into two columns rather than one.

John

Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive said:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


On 26/10/06 9:18 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would
not
bother to post this -- I'm not at all confident that it will fix things.
But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste
that
into a new blank document. Select again, then create an AutoText item.
Does
your problem persist? It *may* not, since you are creating the item from
a
contributed sample -- one which among several other characteristics does
not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and
hopping
mad that someone had fiddled with Word's established table mechanism,
adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word).
I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes
(i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should
not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary
to
do what I describe on page 124 of "Bend Word to Your Will" -- especially
in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems
I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably
John's
example, you will be eligible to reproduce the problems I have
experienced,
albeit that they *may* not be applicable to your underlying problem -- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed),
"(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst,
Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
J

john

Thanks, Clive

I know how to create a 2-column table, but, despite having specified No
Borders, it produced lines in AutoText and AutoCorrect. What I was
trying to do was to take *your* template (which, I think you said,
you'd created in a version before Word 2004 and therefore didn't have
2004's problems for tables) and turn that into 2 columns.

But if you think that a macro won't corrupt, I guess I'll go with the
one my colleague produced.

Once again, many thanks to all of you MVPs who've spent so much time
trying to solve this problem.

John

PS: If this reply appears twice, it's because my first attempt produced
an error messge saying that unable to display, please try again.

Clive said:
Thanks for asking this question, John -- I have now added the answer to
"Bend Word to Your Will".

Table menu -> Insert -> Table -> Number of columns [insert a number].

Then specify AutoFit behaviour as: Initial column width Auto (don¹t use
"AutoFit to contents"). Then configure via Format menu -> Borders and
shading -> Borders (do not use the "Split cells" feature on the Table
menu).

Those two "don'ts" are, um, to minimize potential corruption. ;-)

Cheers,

Clive
=======

Clive

I've tried to adapt the copy of your table, but I can't figure out how
to turn it into two columns rather than one.

John

Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive Huggan wrote:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the borders
from your sample table", what did you observe when you went to Formatmenu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed it?
(I'm aware that you said in another context "I wasn't seeing grey lines, but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all anglesin the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarrethings
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that arenot
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting your
problem. However, I hasten to add that Intel-powered Macs are new and some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I knowthat's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


On 26/10/06 9:18 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would
not
bother to post this -- I'm not at all confident that it will fix things.
But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will" and
select and copy the paragraph marks and the table, collectively. Paste
that
into a new blank document. Select again, then create an AutoText item.
Does
your problem persist? It *may* not, since you are creating the item from
a
contributed sample -- one which among several other characteristics does
not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update --
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been no
problem. I am fairly certain that one version of the problems (there were
several) involved borders I had set to invisible becoming visible. I also
noted at the time that Word had changed some of my styles to Table Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and
hopping
mad that someone had fiddled with Word's established table mechanism,
adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in Word).
I
went no further into it because (a) I discovered that this new impediment
could be avoided by copying over the the paragraph mark that precedes
(i.e.,
is immediately above, and external to) the table when you select the table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should
not
make any difference.)

Please note that some MVPs have told me they do not think it is necessary
to
do what I describe on page 124 of "Bend Word to Your Will" -- especially
in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems
I've
experienced are not consistently reproducible and I doubt that other MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively developed,
documents). I mention this not out of discourtesy to others but tomake
clear that by following the instructions in Word's Help, and probably
John's
example, you will be eligible to reproduce the problems I have
experienced,
albeit that they *may* not be applicable to your underlying problem-- the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed),
"(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed),
"(e-mail address removed)"

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 itgave
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 asave
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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 didthe
selected table.

John


--

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

John McGhie <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst,
Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
C

Clive Huggan

Enjoy your success-of-a-sort, John!

Meantime, we will scratch our heads. There is something inherently unusual
in your configuration, because all a macro does is trigger the mechanisms
that are triggered in the normal course of events via menus, toolbar buttons
or keyboard shortcuts. But you have a workaround. And we'll wait to get more
information if/when someone else has the same problem.

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================

Thanks, Clive

I know how to create a 2-column table, but, despite having specified No
Borders, it produced lines in AutoText and AutoCorrect. What I was
trying to do was to take *your* template (which, I think you said,
you'd created in a version before Word 2004 and therefore didn't have
2004's problems for tables) and turn that into 2 columns.

But if you think that a macro won't corrupt, I guess I'll go with the
one my colleague produced.

Once again, many thanks to all of you MVPs who've spent so much time
trying to solve this problem.

John

PS: If this reply appears twice, it's because my first attempt produced
an error messge saying that unable to display, please try again.

Clive said:
Thanks for asking this question, John -- I have now added the answer to
"Bend Word to Your Will".

Table menu -> Insert -> Table -> Number of columns [insert a number].

Then specify AutoFit behaviour as: Initial column width Auto (don¹t use
"AutoFit to contents"). Then configure via Format menu -> Borders and
shading -> Borders (do not use the "Split cells" feature on the Table
menu).

Those two "don'ts" are, um, to minimize potential corruption. ;-)

Cheers,

Clive
=======

Clive

I've tried to adapt the copy of your table, but I can't figure out how
to turn it into two columns rather than one.

John

(e-mail address removed) wrote:
Hi Clive

This just gets odder.

When I tried before to follow your suggestion, I highlighted your table
on p.124, changed borders to No borders (nothing happened with your
table) put line weight at zero (nothing happened with your table), and
then put Type of Border at No border (again nothing happened with your
table).

I've just tried it again. When I changed borders to No Borders, again
nothing happened, but this time when I put Type of Border at No Border
the lines DID disappear from your border.

So I copied it, plus preceding and succeeding para marks to a new
document, and selected it as AutoCorrect (I think Beth is right, and
it's quicker to work with that AutoText), and IT WORKED!

Which is really strange because even when AutoCorrect was throwing up a
version with borders it needed several tabs to get it to operate.

So I guess I should now try to see if it works when I alter your table
to the specs I want (2 columns, first bold, specific col widths etc).

Someone more technically adept than me at University College London
came up with a macro solution. She didn't write it all in Visual
Basic, but recorded a macro (which produced a table with borders in
spite of the specs of no borders), recorded another macro that simply
removed all borders, produced the results of both in Basic, and then
cut and pasted parts of the second macro into the first. The combined
Visual Basic macro produces the table to the specs I need.

I remember that many of you guys thought that a macro wasn't a good
idea, but for what it's worth, the following works, whereas my previous
attempts at recording a macro hadn't.

Do you still think its' a bad idea to use a macro?

Is it better to try and adapt Clive's table as an AutoCorrect?

John

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
2, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
Selection.Tables(1).Select
Selection.Tables(1).Rows.LeftIndent = CentimetersToPoints(1.44)
Selection.Tables(1).PreferredWidthType = wdPreferredWidthPoints
Selection.Tables(1).PreferredWidth = CentimetersToPoints(12.69)
With Selection.Tables(1)
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
.Borders(wdBorderRight).LineStyle = wdLineStyleNone
.Borders(wdBorderTop).LineStyle = wdLineStyleNone
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
.Borders.Shadow = False
End With
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With
Selection.Rows.AllowBreakAcrossPages = False
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Tables(1).Columns(1).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(1).PreferredWidth =
CentimetersToPoints(2.85)
Selection.Font.bold = wdToggle
Selection.MoveRight Unit:=wdCell
Selection.Tables(1).Columns(2).PreferredWidthType =
wdPreferredWidthPoints
Selection.Tables(1).Columns(2).PreferredWidth =
CentimetersToPoints(9.84)
Selection.Tables(1).Select
With Selection.Cells(1)
.WordWrap = True
.FitText = False
End With
Selection.MoveLeft Unit:=wdCharacter, Count:=1


Clive Huggan wrote:
Hello John,

Just for my education: when you say "Word wouldn't let me remove the
borders
from your sample table", what did you observe when you went to Format menu
-> Borders and Shading -> Borders? Greyed-out border buttons in the
right-hand ("Preview") pane? And what did it look like when you printed
it?
(I'm aware that you said in another context "I wasn't seeing grey lines,
but
solid black ones that printed".)

I have reviewed all the posts in this thread and I believe all angles in
the
problem area have been covered. I only have two other ideas.

The first would be whether your problem is caused (or related to) the
presence of a haxie somewhere. For example, I found that some bizarre
things
occurred in Word when I installed iClip.

The second is to contact a local Apple retailer that has an employee who
knows Word well and who could review your actions while sitting next to
you.
The fee could be worth it. (I know you mentioned your colleague; I'm
thinking of someone who has more extensive day-to-day experience.)
Alternatively, you might find an expert in a local Mac user group. From
my
experience (including an example only this week in my own user group),
sitting side-by-side will sometimes reveal things being done that are not
reported in posts on a newsgroup because they appear fundamental to the
poster (but in reality can be highly significant). You should print out
the
relevant posts in this thread to show this person.

I am led to make the latter suggestion because no-one else is reporting
your
problem. However, I hasten to add that Intel-powered Macs are new and
some
problems have brought us into hitherto uncharted waters. I'm making that
suggestion because my next move, if I were in your situation, could well
be
to consider buying a second-hand PowerPC (pre-Intel) Mac. Now, I know
that's
extreme, and it would depend on how important the "lost" capability is in
your work. However, subject to the two suggestions I make above, I can't
think of anything else.

I certainly feel for you... :-\

Cheers,

Clive Huggan
============


On 26/10/06 9:18 PM, in article
(e-mail address removed), "(e-mail address removed)"

Hi Clive

Forgive the delay in response. I've been having some problems with the
Intel dual processor iMac that Apple replaced their replacement with.

Yes, I did try your suggestion. But:

1. Word wouldn't let me remove the borders from your sample table in
BWYW
2. After I copied it to a blank document, including both preceding and
succeeding para marks, it still wouldn't let me remove the borders.

Hence it was even obdurate than John's template, which at least copied
to the same document and retained the No Borders.

John
Clive Huggan wrote:
Hello John,

If it were not that your problem has so far been so intractable, I would
not
bother to post this -- I'm not at all confident that it will fix things.
But
here goes...

Did you get the same results when trying my suggestion of 13 October?:

"Here's a follow-on suggestion: remove the visibility of the horizontal
lines
(borders) in the sample table on page 124 of "Bend Word to Your Will"
and
select and copy the paragraph marks and the table, collectively. Paste
that
into a new blank document. Select again, then create an AutoText item.
Does
your problem persist? It *may* not, since you are creating the item
from
a
contributed sample -- one which among several other characteristics
does
not
contain Word 2004's default Table style that brings its own share of
problems."

Background: soon after Word 2004 was issued (or maybe it was an update
--
can't remember) I experienced a bizarre set of problems when copying the
tables referred to above -- but not always. In Word 2001 there had been
no
problem. I am fairly certain that one version of the problems (there
were
several) involved borders I had set to invisible becoming visible. I
also
noted at the time that Word had changed some of my styles to Table
Normal
(or Table Grid??? -- didn't record what it was; I was in a hurry and
hopping
mad that someone had fiddled with Word's established table mechanism,
adding
a "Word is here to help you" feature that hadn't been properly thought
through -- i.e., as with a great many of the problems we suffer in
Word).
I
went no further into it because (a) I discovered that this new
impediment
could be avoided by copying over the the paragraph mark that precedes
(i.e.,
is immediately above, and external to) the table when you select the
table
for copying, and (b) the aberrant behaviour was so varied.

(I also use AutoText for this purpose, not AutoCorrect, but that should
not
make any difference.)

Please note that some MVPs have told me they do not think it is
necessary
to
do what I describe on page 124 of "Bend Word to Your Will" -- especially
in
confining oneself to tailor-made styles and selecting the preceding
paragraph mark -- because they have not had problems. But the problems
I've
experienced are not consistently reproducible and I doubt that other
MVPs
copy tables as often as I do (I do that often in my professional work
because I deal extensively with contributed, or collaboratively
developed,
documents). I mention this not out of discourtesy to others but to make
clear that by following the instructions in Word's Help, and probably
John's
example, you will be eligible to reproduce the problems I have
experienced,
albeit that they *may* not be applicable to your underlying problem --
the
above may be a wild goose chase and may therefore only be useful to
unequivocally eliminate a potential factor. But one never knows...

Cheers,
Clive Huggan
=============


On 22/10/06 8:40 PM, in article
(e-mail address removed),
"(e-mail address removed)"

Hi everybody

As you may have seen from post 31 on this topic, I've delayed in
trying out your solutions to the table macro problem because of iMac
hardware problems.

I tried with the template that John kindly sent direct but, I'm afraid,
with no success.

I did read all the Help topics you suggested and studiously set all
means of styling table borders to None (although I never used Word's
own table styles because they didn't fit what I wanted.)

John's template resembled the one I had created, but I used his.

This is what happened.

1. When I copied and pasted into a blank document, it appeared as it
should.

2. When I copied and pasted into my book ms document, it appeared with
borders.

3. Using my book ms doc, I created a new Table Normal style based on
John's table and again set borders to None. It didn't make any
difference.

4. I selected John's table for an AutoCorrect entry, replacing ddddd
with John's table as Formatted Text and clicked Add.

5. When I went to my book ms and typed ddddd nothing happened, even
when I tabbed.

6. When I went to a blank document and typed ddddd nothing happened.
When I tabbed, the table appeared with borders.

7. I went back to the AutoCorrect list and found that next to ddddd was
John's table, BUT with borders (which weren't there when I added it to
the AutoCorrect list).

This is what I had found before I first posted this problem.

So there seems at least two problems here:

(a) AutoCorrect is not even kicking in with my book document and needs
a tab button to kick in after typing the first 5 letters (Word Help
says it should automatically correct after 4) in a blank document;

(b) Using John's template and switching to None all three means of
adding borders to tables, it is still adding borders.

Call me dumb, but I don't know the solution.

John

John McGhie [MVP - Word and Word Macintosh] 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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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
(e-mail address removed),
"(e-mail address removed)"

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 <[email protected]>
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 <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst,
Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top