Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2023, 08:34 PM
Guessed's Avatar
Guessed Guessed is offline Need to automatically apply style within parentheses. Windows 10 Need to automatically apply style within parentheses. Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
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


You can move the start or finish of the range before applying the style eg
Code:
aRng.Start = aRng.Start - 1
aRng.End = aRng.End + 1
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply table style shahid.majeed Word Tables 0 10-02-2019 01:25 AM
Macro to apply a style between quotations WVA Word VBA 6 07-30-2019 11:13 AM
My style keeps changing, can't get saved style to apply Meenie50 Word 7 07-20-2017 03:47 PM
Automatically applying character style while using fast style feature Didier Super Word 1 04-10-2017 05:10 AM
Need to automatically apply style within parentheses. Can I apply a style to an image? humbleosity Word 1 01-14-2014 09:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:17 PM.


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