"Add a bar that you wouldn't normally use and put the button on it,
while hiding the rest of the buttons."
it and because it was grayed out under More Buttons, I couldn't
even delete it. It wasn't anywhere in the Customize menus.
I even deleted the Macro in the Macro list but I still couldn't delete
it in the Formatting menu. Finally, I took a picture of what I had,
saved it in Paint and did a 'Reset.' Finally, THAT worked.
"Opens to the last tab that was used, from what I see."
document. However, every time I create a NEW document (or open
an existing one for the FIRST time, it ALWAYS defaults to the
Summary tab and I don't know how to change that. I'm sure they
must have hard-coded that for whatever reason, but it would be nice
to change.
"Yes, but since we can't get the Box to accept SendKeys,
how about just put the Properties "button" on the Toolbar
and ditch the Macro? [Instructions follow]"
messing with the Macro!! Now THAT was a helpful tip - thanks.
[One oddity. When I mentioned below that the Macro box
had a check mark and was grayed out, the same applies to the
Properties box. But that's o.k., because I have it where I want it
and it's not going anywhere.]
{Question #3 below is now moot and #4 I took care of by
clicking Reset.}
While doing all this, I did run across one other question
(and it's the last one!), if you have one or two more minutes
to spare.
On any toolbar (use the Formatting one as an example,
since we're on that subject), how do you do a 'controlled'
move of icons from one place to another (like you can
in I.E. or O.E.)? I can do a random move by clicking on
the 'More Buttons' arrow on the right, then the 'Add or Remove
Buttons' and then click (and unclick) whatever buttons you want,
however there doesn't seem to be any [seemingly] logical
order where new icons get inserted on the toolbar.
Say I had Buttons A, B and C on the toolbar and I deleted B
and then added D from that 'Add or Remove Buttons' box,
D may or may not get inserted where B used to be.
Is there any way to control that?
Thank you as always and thanks again for that Properties tip.
It's perfect...
Mike_____
Inline
Thanks - that seemed to (mostly) work Bob (I need to learn VBS!)
I have a couple of questions left (if you happen to know
and care to reply, you can just put the answers below each
of the below questions -- or wherever is most convenient for you):
I right-clicked on the Format bar and clicked Customize.
Clicked Macros in the Categories box and found
Normal.NewMacros.Properties in the Commands box.
Clicked on that and dragged the button to where I wanted it
on the Format bar.
However, the button itself is large because the text reads:
Normal.NewMacros.Properties
[Which bumps off some other icons I previously had there.
Of course I can find them by clicking the >> (more buttons)
on the right.]
Add a bar that you wouldn't normally use and put the button on it, while
hiding the rest of the buttons.
1.) When I click on the Normal.NewMacros.Properties button,
the Properties pop-up box does appear, but sometimes it defaults
to the Summary tab and sometimes it defaults to the Statistics tab
(which is where I want it). If it defaults to the Summary tab,
obviously I just click [Ctrl] + Tab to get to the Statistics tab.
Opens to the last tab that was used, from what I see.
Is there another SendKeys instruction to automatically bring
up the Properties box where it defaults to the Statistics tab?
Tried but the box ignores the Sendkey input. I end up with "tabs" in the
document.
[...And before I forget, where's a good reference place to
understand what SendKeys instructions do what? (so I can
study them on my own)]
Look up "Sendkeys" in VB Help.
2.) How can I shorten the text in that box to read Properties
(or whatever shortened text I choose)?
Yes, but since we can't get the Box to accept SendKeys, how about just
put the Properties "button" on the Toolbar and ditch the Macro?
R-click bar, Customize, Commands tab, File, scroll to bottom of right
hand pane, grab the Properties button and drag it up to the Toolbars and
drop it.
3.) How can I choose a graphic icon to represent the contents
of that box (i.e. like the binoculars represent Find)?
4.) When I click on >> (more buttons) on the right and then
click Add or Remove Buttons, there's a list of which
buttons I want to have (or not) as my 'primary' icons (i.e. what
you see without clicking >>). Every button on that list has
the option of putting/removing a check mark next to it.
However, the button marked, Normal.NewMacros.Properties
has a check mark and is grayed out (i.e. you can't change it).
If I wanted to uncheck the Normal.NewMacros.Properties box,
how would I do that?
Btw, it's not an 'exercise' (although everything I learned from you,
I can use to experiment with other Macros). Every document I write,
I always bring up the Properties box first in order to check on certain
stats, which I need to do. Then, I'll click Save or Save As. If I only
did it once in a blue moon, I wouldn't care, but since I do it every time,
I figured I'd try to automate it to save a little time (every little bit helps)...
Thanks again (on an ongoing basis now!),
Mike______
Couple of interesting things happening. The "recorder" doesn't like the
"dialog box". And then the Keyboard shortcut interferes with the macro.
For what it is worth, you can "record a macro" (it will be blank
also)and assign it to a toolbar button. Then paste in the sendkey
instructions below. Clicking on the "button" will open the "properties
panel". The panel seems to ignore any sendkeys input. Out of curiosity
what is the purpose of this exercise?
SendKeys "%", True
SendKeys "F", True
SendKeys "i", True
"Did Word respond to your key presses
as you recorded the Macro?"
Sure did. This is what I did, step by step:
Tools -> Macro -> Record New Macro
Macro name: Properties
Assign macro to: Keyboard
Store macro in: All documents (Normal.dot)
OK
Press new shortcut key: {I picked [Alt] + 1 because
it wasn't already assigned.}
Click Assign
Click Close
{Then it starts to record}
[Alt] + F {Open File drop down menu}
i {Properties}
[The Properties pop-up box appears]
[Ctrl] + Tab {To move the tab from Summary to Statistics}
Tab {To get to the OK box}
Enter {To 'click' the OK box}
{Click the Stop recording button in the Stop recording
pop-up box}
I open any document and click [Alt] + 1 and
nothing happens.
Then I try:
Tools -> Macro -> Macros
Click on Properties in the Macro name: box
If I try to Run, nothing happens.
When I Edit it, the only code I see is:
Sub RestoreClipboard()
'
' RestoreClipboard Macro
' Macro created 3/12/2007 by DellUser
'
End Sub
Sub Properties()
'
' Properties Macro
' Macro recorded 3/12/2007 by DellUser
'
End Sub
That's it. Nothing else. Have any clue what
step(s) I'm leaving out?
Thanks again,
Mike_____
Did Word respond to you key presses as you recorded the Macro? In other
words did the file menu open, then the Properties dialog box, then you
use the tab key to move,......
I tried running a Macro and assigning it to the keyboard, but it
doesn't pick up my keystrokes for some reason (obviously, I must be
doing something wrong, but don't know what).
When it starts recording, I keyed Alt + F (for File); keyed "I" (no quotes --
for Properties); clicked Statistics Tab; clicked O.K. and stopped recording.
When I clicked Tools -> Macro -> Macros, I see the name of the Macro
I created (I called it "Properties") in the list, but when I clicked on it
and then clicked on Edit, except for the shell code auto-generated in VBS,
there's no other code there.
I tried the above a few different ways, but always with the same (non) result.
Do you have any idea what step(s) I'm leaving out or what I'm doing wrong?
Thanks again,
Mike______
You could create a Macro to do this.
Mike wrote:
1.) Is there a keyboard shortcut which will bring up the Properties Panel?
(along the lines of Ctrl + N = New; Ctrl + O = Open; Ctrl + P = Print;
Ctrl + S = Save)
Reason I ask is that one of the functions, which is not listed in the drop-down
options list under File is: Ctrl + W = Close. So I was wondering if the shortcut
for Properties exists, but is simply not listed -- or does not exist at all.
2.) Whether or not the Properties keyboard shortcut does exist, is
there a way (when using either the drop-down box to pick Properties)
or using the keyboard shortcut (if it exists), so that when the Properties dialog
box pops up, you can get it to default to showing the Statistics Tab first,
rather than the Summary Tab first (which it does now)?
Thanks in advance for any help,
Mike_______