Research Panel: keyboard shortcut to close?

L

lllusion

Is there a keyboard shortcut to close the Research Panel in Word & Outlook
(new message window); if so what?
 
H

Herb Tyson [MVP]

You can try F6, Ctrl+Space, C.

Not exactly a shortcut.

In Word, you can create a macro to do it, then assign the macro to a
keyboard shortcut. The following is the macro I use to toggle the research
panel on/off:

Sub ResearchToggle()
CommandBars("Research").Visible = Not (CommandBars("Research").Visible)
End Sub

I assigned it to Ctrl+Shift+T, since I never use the keyboard shortcut for
UnHang (the default assignment to Ctrl+Shift+T).

If there's a way to make similar keyboard shortcuts in Outlook, I haven't
discovered it yet.
 
L

lllusion

Thanks Herb. That really helps in Word.

As you implied, it's possible to make the same macro in Outlook, but running
it croaks, and I can't find a way to implement a keyboard shortcut for it
anyway.

If anyone figures this out for Outlook please post the solution here.

TIA!
 
B

Bob Buckland ?:-\)

Hi Herb,

FYI, for your macro, when I use it in Word 2007, if the research pane has been displayed once during the Word seesion then the macro
works, but if the Research Pane has not previously been displayed then I get a runtime error from Word if "Method 'Visible' of
object 'CommandBar' failed".

===========
You can try F6, Ctrl+Space, C.

Not exactly a shortcut.

In Word, you can create a macro to do it, then assign the macro to a
keyboard shortcut. The following is the macro I use to toggle the research
panel on/off:

Sub ResearchToggle()
CommandBars("Research").Visible = Not (CommandBars("Research").Visible)
End Sub

I assigned it to Ctrl+Shift+T, since I never use the keyboard shortcut for
UnHang (the default assignment to Ctrl+Shift+T).

If there's a way to make similar keyboard shortcuts in Outlook, I haven't
discovered it yet.

--
Herb Tyson MS MVP >>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
H

Herb Tyson [MVP]

The only way I've been able to implement keyboard shortcuts in Outlook is to
put the macro onto a toolbar and give it a hot key/accelerator using the &
designation. In Outlook 2007, this works only at the main Outlook window,
however, since windows for messages, contacts, etc. no longer have
customizable menus/toolbar. I haven't delved into ribbon customization,
however, so I don't know what possibilities might exist when going that
route.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
 
H

Herb Tyson [MVP]

Interesting. Since I'm constantly turning the research bar on by accident, I
hadn't ever encountered a situation where it had not previously been
displayed during a Word session. So, I never noticed.

This should fix it, though:

Sub ResearchToggle()
On Error GoTo Boo
CommandBars("Research").Visible = Not (CommandBars("Research").Visible)
GoTo EndIt
Boo:
Application.Run MacroName:="Research"
EndIt:
End Sub
 
B

Bob Buckland ?:-\)

Hi Herb,

Yes, that did fix it in Word :) Thank you.

Separately, it also looked like the use of
Application.Run MacroName:= to execute a Word command
might be a solution for putting the Word built in command
DrawInsertLine
into a macro so it could be put on the QAT.

Th DrawInsertLine command can be assigned a keyboard shortcut to execute and lets you draw a Word 97-2003 style line (blue sizing
handle) in a Word 2007 document rather than the Word 2007 Insert=>Shape=Line that inserts a 'straight connector'.

The 'old style lines' let you use things like 'Edit points' from the right click menu, but aren't included in Word 2007's
Insert=>Shape menu, but without being able to put it in a macro it's not a 'visible' addition I could make to add it to the QAT, and
saving an already drawn line to a Building Block isn't quite the same as getting the cross hair cursor to draw one <g>.


Bob ?:)

==========
Interesting. Since I'm constantly turning the research bar on by accident, I
hadn't ever encountered a situation where it had not previously been
displayed during a Word session. So, I never noticed.

This should fix it, though:

Sub ResearchToggle()
On Error GoTo Boo
CommandBars("Research").Visible = Not (CommandBars("Research").Visible)
GoTo EndIt
Boo:
Application.Run MacroName:="Research"
EndIt:
End Sub
 

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