Thread: select until =
View Single Post
 
Old 01-29-2024, 02:24 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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 need to explain exactly what you want to do. Your post asks for "I would like to make a macro that selects all the text from the beginning of the paragraph up to the = (equal) sign. by shortcut." This is half a question and making a selection is hardly useful by itself so we would have to presume there is a reason you want to select that text.

When you select that text, what do you want to happen?

Is the macro to work only for the current paragraph where the selection is OR in all selected paragraphs OR in the entire document?

Your examples of duplicated paragraphs with - changed to + is also changing the number after the =. How does that happen? Is that where the user needs to type a different number?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote