Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-22-2023, 08:19 AM
RRB's Avatar
RRB RRB is offline need help with short macro Windows 11 need help with short macro Office 2021
Susan Flamingo
need help with short macro
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 261
RRB is on a distinguished road
Default need help with short macro

Hi friends!
It has been so many years since I last programmed with VBA I'm going to take the audacious move to ask if somebody can help me write the following macro:



I have text within parentheses and when I type the close parentheses "(" together with the alt key Word selects all the text back to the opening parentheses ")" and formats it with a style called "styMystyle". And then the cursor moves back to where it originally was after the closing parentheses.

Thanks in advance very much!

Susan

[Moderator's note:Thread closed at Susan's request. Reposted by Susan in regular Word forum since no answers here.]

Last edited by Charles Kenyon; 03-24-2023 at 12:29 PM.
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with short macro short cut comparing two documents paik1002 Word 1 05-17-2016 02:11 AM
Need Short Macro-Find and Replace rsrasc Word VBA 2 11-10-2014 05:03 PM
Assign keyboard short cut to macro AndyDDUK PowerPoint 1 01-09-2013 09:28 AM
need help with short macro Creating a link for a Short Cut key word Word 1 06-07-2011 03:11 PM
Short personal folders! martaa Outlook 1 01-31-2011 04:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:41 PM.


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