Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2024, 05:25 AM
WJSwanepoel WJSwanepoel is offline Search and remove a tabstop Windows 10 Search and remove a tabstop Office 2021
Advanced Beginner
Search and remove a tabstop
 
Join Date: Dec 2019
Location: Krugersdorp, South Africa
Posts: 65
WJSwanepoel is on a distinguished road
Question Search and remove a tabstop

I have a word document where some paragraphs have a spurious tabstop at 0,63cm.


How can I search for these and remove the tabstop?
Reply With Quote
  #2  
Old 03-01-2024, 06:42 AM
gmaxey gmaxey is offline Search and remove a tabstop Windows 10 Search and remove a tabstop Office 2019
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Code:
Sub ScratchMacro()
'A basic Word Macro coded by Gregory K. Maxey
  ActiveDocument.Paragraphs.TabStops.Item(CentimetersToPoints(0,63)).Clear
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 03-01-2024, 07:06 AM
WJSwanepoel WJSwanepoel is offline Search and remove a tabstop Windows 10 Search and remove a tabstop Office 2021
Advanced Beginner
Search and remove a tabstop
 
Join Date: Dec 2019
Location: Krugersdorp, South Africa
Posts: 65
WJSwanepoel is on a distinguished road
Default

Thank you so much, I will give it a go.
Reply With Quote
Reply

Tags
tabstop



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to align values in a Word-Table-Column at decimal tabstop dherr Word VBA 1 03-24-2015 03:39 PM
Using VBA to change styles causing TabStop problem rjrichar40 Word VBA 2 08-12-2014 10:35 AM
Onenote 2013 search is not identifying search terms correctly Delta223 OneNote 0 08-12-2014 06:40 AM
Search for date and then apply mutliple search criteria in huge dataset maxtymo Excel 2 12-01-2013 04:52 AM
Search and remove a tabstop Word VBA - Search a word and add/remove it netchie Word VBA 5 03-19-2013 03:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:09 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