Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2022, 01:35 PM
onlyif onlyif is offline How do I find the last character in a line? Windows 10 How do I find the last character in a line? Office 2021
Novice
How do I find the last character in a line?
 
Join Date: Mar 2022
Posts: 4
onlyif is on a distinguished road
Default

Thank you for responding. Sorry for my delayed reply, my life has been crazy lately.



I'm on Windows 10, working on Microsoft 365's Word.


Here's an example of what I'm trying to do:




See how some lines end with ":"? I want to make sure that any time a line ends with a ":" (and a few other symbols) that the ":" and the word preceding it is moved down to the next line.



Right now, I'm having to move things down to the next line manually over hundreds of pages, which takes a long time and ends in me missing some. I felt like there has to be some way to Macro that process.



I've gotten Macros to work for nearly everything else that I need to do, like changing all quotation marks and apostrophes to curly instead of straight, but this one has me completely stumped. Granted, I'm not a programmer, so my knowledge is pretty limited. My only experience with VBA is a Visual Basic course I took in high school 15 years ago and a whole lot of Googling...but I couldn't find the answer to this one through Google. I did, however, find this forum through Googling, and your posts have been incredibly helpful for figuring out how to do a lot of other things through VBA, so you've already been a huge help!
Reply With Quote
Reply

Tags
find character, line



Similar Threads
Thread Thread Starter Forum Replies Last Post
Header line only in text box using a different character set anne4651 Publisher 0 07-03-2018 03:45 PM
How do I find the last character in a line? Find first character of a line Deferolles Word 11 04-26-2018 12:18 AM
How do I find the last character in a line? Delete Character on Single Line Only Tye30 Word VBA 8 04-20-2017 08:40 PM
How do I find the last character in a line? Every page indents first line one character glennhardy Word 6 02-05-2016 04:05 PM
How do I find the last character in a line? Use character instead of line for table border dlowrey Word Tables 6 03-09-2015 11:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:53 AM.


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