Reply
 
Thread Tools Display Modes
  #1   Report Post  
SarahBB SarahBB is offline
Junior Member
 
Posts: 0
Default Fix Thesaurus Macro in Word 2013

I have a Lenovo Thinkpad Yoga, and I am new to Word 2013. In all other versions of Word, the shortcut for the thesaurus was shift + F7. On my Lenovo, the shortcut is Fn + Shift + F7. If I simply hit shift + F7, it opens the computer's projector. I wanted to create a macro that would toggle the thesaurus, so I could close it without using the mouse. I found the following code and instructions in another forum:

Sub ThesaurusToggle()
On Error GoTo OpenT
CommandBars("Thesaurus").Visible = Not (CommandBars("Thesaurus").Visible)
GoTo EndIt
OpenT:
Application.Run MacroName:="Thesaurus"
EndIt:
End Sub

I followed the instructions, and now the thesaurus toggles/closes when it's open when I hit Fn + Shift +F7. However, something is wrong because now when I hit Fn + Shift +F7, the thesaurus opens, but it only displays synonyms for the last word I used BEFORE I created the macro. It will not give synonyms for any new words no matter how many different words I click with the mouse. Additionally, I still have to hit Fn before the Shift + F7 command or else that silly projector screen opens.

How do I fix the thesaurus to work again while still keeping the toggle feature in use? Please advise.

Many thanks!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Fix Thesaurus Macro in Word 2013

The fact that you now have to hold the Fn key is a caused by settings on
your laptop. Check the documentation to find out if/how it can be changed.

To display the old Thesaurus dialog box of Word 2003 (I'm guessing here,
because I don't remember which version was the last to use the dialog box as
the default), you can use the following macro:

DisplayOldThesaurusDialog()
On Error Resume Next
Application.Run "ToolsThesaurus"
End Sub

See also http://www.gmayor.com/installing_macro.htm.

You can close the dialog box with ESC.

--
Stefan Blom
Microsoft Word MVP




"SarahBB" wrote in message
...

I have a Lenovo Thinkpad Yoga, and I am new to Word 2013. In all other
versions of Word, the shortcut for the thesaurus was shift + F7. On my
Lenovo, the shortcut is Fn + Shift + F7. If I simply hit shift + F7, it
opens the computer's projector. I wanted to create a macro that would
toggle the thesaurus, so I could close it without using the mouse. I
found the following code and instructions in another forum:

Sub ThesaurusToggle()
On Error GoTo OpenT
CommandBars("Thesaurus").Visible = Not
(CommandBars("Thesaurus").Visible)
GoTo EndIt
OpenT:
Application.Run MacroName:="Thesaurus"
EndIt:
End Sub

I followed the instructions, and now the thesaurus toggles/closes when
it's open when I hit Fn + Shift +F7. However, something is wrong
because now when I hit Fn + Shift +F7, the thesaurus opens, but it only
displays synonyms for the last word I used BEFORE I created the macro.
It will not give synonyms for any new words no matter how many different
words I click with the mouse. Additionally, I still have to hit Fn
before the Shift + F7 command or else that silly projector screen
opens.

How do I fix the thesaurus to work again while still keeping the toggle
feature in use? Please advise.

Many thanks!




--
SarahBB


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help - Lost 2013 Document Sean2148max2 Microsoft Word Help 3 June 1st 22 12:46 PM
Create Forms in Word 2013 TraceyR Microsoft Word Help 3 October 10th 13 08:51 PM
VBA code to create a Word 2013 Ribbon tab which lists recent documents [email protected] Microsoft Word Help 1 July 18th 13 12:49 AM
Shortcut key for maco word 2013 kaye123 Microsoft Word Help 2 May 9th 13 04:18 AM
Which ODF/ .odt version is word 2010, 2013 preview & eventually 2013 full using? semiotically Microsoft Word Help 2 November 9th 12 12:48 AM


All times are GMT +1. The time now is 01:31 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"