Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2022, 03:22 PM
harry harry is offline Keyboard shortcut to open a dialogue box with specific option selected Windows 10 Keyboard shortcut to open a dialogue box with specific option selected Office 2019
Advanced Beginner
Keyboard shortcut to open a dialogue box with specific option selected
 
Join Date: Jul 2010
Posts: 31
harry is on a distinguished road
Default Keyboard shortcut to open a dialogue box with specific option selected

I want to create a keyboard shortcut to open the "Insert Symbol" dialogue box with the Symbol font selected in the Font field.

I know how to create a keyboard shortcut to open the "Insert Symbol" dialogue box, using either the "InsertSymbol" command directly or a macro with the command "Application.Dialogs(wdDialogInsertSymbol).Sho w".

However, normally when this dialogue box is opened, it has the last used font selected in the Font field. Is there a way to open this dialogue box with a specific font ("Symbol") selected in the Font field?
Reply With Quote
  #2  
Old 10-03-2022, 06:55 PM
Guessed's Avatar
Guessed Guessed is offline Keyboard shortcut to open a dialogue box with specific option selected Windows 10 Keyboard shortcut to open a dialogue box with specific option selected Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

In theory this would be done like this
Code:
Sub InsertMe()
  With Application.Dialogs(wdDialogInsertSymbol)
    .Font = "Symbol"      'this isn't working for me
    SendKeys "%fsym{DOWN}{ENTER}"
    .Show
  End With
End Sub
However that .Font line isn't working for me and I don't know why. I've added the dodgy SendKeys line to mimic the keyboard steps.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 10-04-2022, 04:59 AM
harry harry is offline Keyboard shortcut to open a dialogue box with specific option selected Windows 10 Keyboard shortcut to open a dialogue box with specific option selected Office 2019
Advanced Beginner
Keyboard shortcut to open a dialogue box with specific option selected
 
Join Date: Jul 2010
Posts: 31
harry is on a distinguished road
Default

That doesn't work for me either, but thanks for your reply.
Reply With Quote
  #4  
Old 10-04-2022, 05:44 PM
Guessed's Avatar
Guessed Guessed is offline Keyboard shortcut to open a dialogue box with specific option selected Windows 10 Keyboard shortcut to open a dialogue box with specific option selected Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Are you saying the SendKeys doesn't work either?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #5  
Old 10-04-2022, 06:15 PM
harry harry is offline Keyboard shortcut to open a dialogue box with specific option selected Windows 10 Keyboard shortcut to open a dialogue box with specific option selected Office 2019
Advanced Beginner
Keyboard shortcut to open a dialogue box with specific option selected
 
Join Date: Jul 2010
Posts: 31
harry is on a distinguished road
Default

The SendKeys hack works, but I would like to know how to make the field option work.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
for wildcards is there a keyboard shortcut to quickly disable/enable it without having to open ctrl+ jaygb Word 1 11-20-2019 07:43 AM
Powerpoint-2019 Text in selected theme remains in All Caps even when small caps option is selected Tanasha4 PowerPoint 2 04-06-2019 07:53 PM
moving the email by a keyboard shortcut to a specific folder according to the sender Robiche Outlook 0 03-30-2019 03:04 AM
How to choose (specific ie. not ALL) multiple objects with keyboard shortcut DC19 PowerPoint 1 09-12-2016 03:48 AM
Keyboard shortcut to open a dialogue box with specific option selected Changing keyboard layout - Changing/removing keyboard shortcut Hans L Windows 2 08-16-2015 05:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft