ribbon customization for table borders

P

Peter T. Daniels

Thanks, apparently, to Office SP2, the ribbon customization written
by, I believe, Greg Maxey for putting the Table Borders button in the
Tables > Layout tab is gone.

Google groups search seems not to be searching more than about five
weeks back.

Can someone find the thread in which the code and instructions were
published?

Thank you.
 
G

Greg Maxey

Thanks, apparently, to Office SP2, the ribbon customization written
by, I believe, Greg Maxey for putting the Table Borders button in the
Tables > Layout tab is gone.

Google groups search seems not to be searching more than about five
weeks back.

Can someone find the thread in which the code and instructions were
published?

Thank you.

The whole exchange, which fully illustrates your mule headedness about
learning anything new is contained here:

http://groups.google.com/group/micr...Greg,+grammatim+group:microsoft.public.word.*

You should learn to fish instead of losing fish already given to you
and asking for another one.
 
G

Greg Maxey

BTW, I would have sent this information to you privately had you not
adopted the inane practice of ignoring messages from me.
 
G

Gordon Bentley-Mix on news.microsoft.com

Surely his nose-less face must feel thoroughly spited by now... ;-D
--
Cheers!

Gordon Bentley-Mix
Word MVP

Please post all follow-ups to the newsgroup.

Read the original version of this post in the Office Discussion Groups - no
membership required!
 
P

Peter T. Daniels

The whole exchange, which fully illustrates your mule headedness about
learning anything new is contained here:

http://groups.google.com/group/microsoft.public.word.docmanagement/br...

You should learn to fish instead of losing fish already given to you
and asking for another one.

Thank you. A number of weeks ago I asked about the pros and cons of
installing Office SP2, and no one answered. A con, we now know, is
that it wipes out any Ribbon customization.

And I do not know why google groups search no longer looks more than
about six weeks back.
 
S

Suzanne S. Barnhill

Others have commented that something dire is going on at Google; people who
are looking for their posting history have found it totally missing and only
gradually coming back.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

The whole exchange, which fully illustrates your mule headedness about
learning anything new is contained here:

http://groups.google.com/group/microsoft.public.word.docmanagement/br...

You should learn to fish instead of losing fish already given to you
and asking for another one.

Thank you. A number of weeks ago I asked about the pros and cons of
installing Office SP2, and no one answered. A con, we now know, is
that it wipes out any Ribbon customization.

And I do not know why google groups search no longer looks more than
about six weeks back.
 
P

Peter T. Daniels

I spent more than an hour this morning trying to reinstall the button,
following Graham's instructions and using Greg's code (indeed the
template that formerly contained the amendment, created for the
purpose, is still signed "Gregory K. Maxey"), and it has not worked.
Is it possible that something in Office SP2 changed the structure of
the Ribbon in such a way that the "pre-release" version of the UI
Editor referenced in Graham's instructions (downloaded anew today) no
longer works?
 
P

Peter T. Daniels

Correction:

I realized that the fact that the template is signed suggests that in
December 2008 I did _not_ follow Graham's instructions using Greg's
code, and sure enough, in my email was the template sent to me by
Greg.

So I replaced the copy of the template that was in the folder with the
one attached to the email, and the added button still does not appear
upon opening Word.

I conclude that something over the last nine months has changed the
way Ribbon customization works.
 
G

Greg Maxey

Conceding that you may not see this reply since you adopted the inane
practice of ignoring my messages, I'll asked anyway -

Before anyone goes off rushing to the conclusion that there is something
amiss with Office SP2 or any particular version of the CustomUI editor, can
you confirm that the copy of the template that I sent you in December 2008
is in fact located in your Word Startup Folder? What happens if you simply
open the template?

I also have SP2 installed. Using the very same template that I sent to you
(pulled from the archive in my e-mail) and placed in my Startup folder
results in the cell borders control being added to the "Cell Size" group on
the Table Layout tab exactly where you asked for it to be added.
 
P

Peter T. Daniels

All my templates are in Users\Peter\AppData\Roaming\Microsoft
\Templates , which is presumably where they ended up when I followed
the instructions (perhaps from Jay Freeman?) to paste a certain path
into a certain window, which pathname included a sequence between the
strings, IIRC, %20 and %20. From 8 December 2008 until a day or so
ago, there were no problems, and all and only the templates in that
location appear under Open > Templates.

I have opened and closed Word several times since this morning, but I
haven't restarted -- and now,

Opening that template with Open > Template now shows the enhanced
Ribbon (with an empty table of a few rows and a few columns in the
document area).

Opening a New document based on that template shows the enhanced
Ribbon.

Opening Word (so that a new blank Document 1 appears) shows the
unenhanced Ribbon.

Opening Word by opening a Word document shows the unenhanced Ribbon.

(This last is by far the most frequent situation.)

Opening Word by opening that template, then closing the template with
Ctrl-W to leave Word running, then opening an existing document from
the Recent Documents list shows the unenhanced Ribbon.

Opening Word by opening that template, then opening an existing
document from the Recent Documents list, shows the unenhanced Ribbon.

(I can't think of any other sequences to try.)

The only file in Computer\Local Disk (C:)\Program Files\Microsoft
\Office12\STARTUP is something called pdf995.old (65 Kb), which
presumably is of no use to anything.
 
G

Greg Maxey

So when you need another fish you set aside your inane practice of ignoring
my messages? I guess if a fellow gets hungry enough and refuses to learn to
fish then he'll do just about anything.

It appears that you have cried wolf in the crowded theatre and sounded alarm
bells about unexplainable issues with the Ribbon and SP2.

From the very beginning I told you to put the customization template in your
Word Startup Folder. Here is the exact text of my e-mail on 8 December
2008:

"Peter

Put the attached tempalte in your Word startup folder"

If you didn't put it there, then I don't know exactly what you have done
over the last 8 months if your enhanced Ribbon has ever functioned. Are you
100% sure that this issue began precisely when you installed SP2 or could it
have happened when you started monkeying around with your template files by
pasting a certain path to a certain window IAW certain instructions provided
by you an unknown person that might have been Jay Freedman?

The series of test that you enumerated below all performed exactly as
expected. If the template isn't loaded in the templates collection then the
customization it contains will not be presented.

A template is loaded in the templates collection when you open the template
and it is loaded when you open a document based on the template.

Templates used for things like Ribbon customization are intended to be used
as Template AddIns. That is you don't normally open them and you don't
normally based new documents on them. Instead you:

1. Store them in your Word Startup folder so that they load automatically
when Word starts.
2. Store the template elsewhere and load them manually using
Developer>Templates>Document Templates>Templates then in the Global
Templates and Addins window (check the template if listed or click add if
not list).

All this is explained in the link "Organizing Your Macros" at my
http://gregmaxey.mvps.org/Customize_Ribbon.htm. However, seeing as you have
shown so much contempt and scorn for that article it is perfectly
undertandable that you are here asking for another fish.

You can determine your Word Startup path by Office>Word
Options>Advanced>General>Click "File Locations and record the path listed
for "Startup"

Cheers,
 
S

Suzanne S. Barnhill

The Templates folder is for document templates. Any customizations in a
template there will be seen only when you are working in a document based on
that template. Since the template Greg supplied is not a document template,
you're seeing the customizations only when you open the template itself.

If you want customizations in a template to be "global" (available to all
documents), you have to put the template in Word's Startup folder.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

All my templates are in Users\Peter\AppData\Roaming\Microsoft
\Templates , which is presumably where they ended up when I followed
the instructions (perhaps from Jay Freeman?) to paste a certain path
into a certain window, which pathname included a sequence between the
strings, IIRC, %20 and %20. From 8 December 2008 until a day or so
ago, there were no problems, and all and only the templates in that
location appear under Open > Templates.

I have opened and closed Word several times since this morning, but I
haven't restarted -- and now,

Opening that template with Open > Template now shows the enhanced
Ribbon (with an empty table of a few rows and a few columns in the
document area).

Opening a New document based on that template shows the enhanced
Ribbon.

Opening Word (so that a new blank Document 1 appears) shows the
unenhanced Ribbon.

Opening Word by opening a Word document shows the unenhanced Ribbon.

(This last is by far the most frequent situation.)

Opening Word by opening that template, then closing the template with
Ctrl-W to leave Word running, then opening an existing document from
the Recent Documents list shows the unenhanced Ribbon.

Opening Word by opening that template, then opening an existing
document from the Recent Documents list, shows the unenhanced Ribbon.

(I can't think of any other sequences to try.)

The only file in Computer\Local Disk (C:)\Program Files\Microsoft
\Office12\STARTUP is something called pdf995.old (65 Kb), which
presumably is of no use to anything.
 
P

Peter T. Daniels

Except that it's been working perfectly for nine months, placed in the
folder that Jay's abbreviated pathname sent me to.

By "Word Startup folder," do you mean ...\Office12\STARTUP? I find no
folders that could be Word-specific.
 
S

Suzanne S. Barnhill

No, that's the Office Startup folder. The one for Word is going to be along
the lines of C:\Documents and Settings\Suzanne\Application
Data\Microsoft\Word\STARTUP (with allowances for your profile name and
whatever Vista does differently from Windows XP).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

Except that it's been working perfectly for nine months, placed in the
folder that Jay's abbreviated pathname sent me to.

By "Word Startup folder," do you mean ...\Office12\STARTUP? I find no
folders that could be Word-specific.
 
G

Greg Maxey

....seems to be ignoring my posts again. You might suggest:

You can determine your Word Startup path by Office>Word
Options>Advanced>General>Click "File Locations and record the path listed
for "Startup"
 
P

Peter T. Daniels

...seems to be ignoring my posts again. You might suggest:

You can determine your Word Startup path by Office>Word
Options>Advanced>General>Click "File Locations and record the path listed
for "Startup"

The path goes ...\Roaming\Microsoft\Word\STARTUP.

There is a copy of the enhanced Ribbon template (and of the old
normal.dot) in that folder, and double-clicking it yields a Document 1
showing the added button.

The normal.dotm template containing Graham's macros for opening a file
at the last editing point is in the Office12\STARTUP folder (along
with a copy of the enhanced Ribbon template) and works properly.

Could it be that the problem is having a copy in each location?
 
S

Suzanne S. Barnhill

Thanks, Greg. I had an idea it might be one of the things listed there but
was too lazy (or too rushed) to check.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
S

Suzanne S. Barnhill

You shouldn't have a copy of Normal.dotm in Startup or anywhere other than
Templates. Also, I don't know about Word 2007, but in Word 2003 the Office
Startup folder is not a trusted location.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

...seems to be ignoring my posts again. You might suggest:

You can determine your Word Startup path by Office>Word
Options>Advanced>General>Click "File Locations and record the path listed
for "Startup"

The path goes ...\Roaming\Microsoft\Word\STARTUP.

There is a copy of the enhanced Ribbon template (and of the old
normal.dot) in that folder, and double-clicking it yields a Document 1
showing the added button.

The normal.dotm template containing Graham's macros for opening a file
at the last editing point is in the Office12\STARTUP folder (along
with a copy of the enhanced Ribbon template) and works properly.

Could it be that the problem is having a copy in each location?
 
G

Greg Maxey

Peter,

Keeping in mind that I am a mere autodidact, I can say for sure what your
template problem is, but I feel pretty sure that it is not caused be SP2 or
some malfuntioning of the RibbonXML in the template your have.

Start Word. Click the Developer Tab>Templates>Document Template>Templates.
In the window "Checked items are currently loaded" do you see your template
for customizing the ribbon? If so, is it checked?

I suspect the answer to both questions is no.

Is it listed? If so, check it. Does the ribbon now display the customized
ribbon?

If yes then you will simply need to determine what is in fact your
Word\Startup path and place the template in that directory.

Are any items checked? If so then look at the "Full Path" line at the
bottom of the dialog and see if you can determine the path. That well could
be your Startup path.

I don't know what you have done wrt to Normal.dotm. You should only have
one and is should be in your User Templates path not Startup.
 
G

Greg Maxey

Keep in mind that I am often a careless typer and speller as well. I
"can't" say for sure.
 

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