Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2024, 02:32 PM
Shelley Lou Shelley Lou is offline VBA Bold text at beginning of paragraph Windows 10 VBA Bold text at beginning of paragraph Office 2016
Expert
VBA Bold text at beginning of paragraph
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA Bold text at beginning of paragraph

Hi Macropod, thanks for replying and updating the line of code which I've now inserted into my much larger code I use to format the definitions. I then have another code which converts the definitions into a 2 column table and auto numbers the sub levels but for the first part the numbering needs to be manual in order to insert the tab before them ready for the table code.
Reply With Quote
  #2  
Old 11-18-2024, 03:15 PM
macropod's Avatar
macropod macropod is offline VBA Bold text at beginning of paragraph Windows 10 VBA Bold text at beginning of paragraph Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Shelley Lou View Post
I then have another code which converts the definitions into a 2 column table and auto numbers the sub levels but for the first part the numbering needs to be manual in order to insert the tab before them ready for the table code.
My approach would be to use the auto-numbering so that you can add/delete clauses as needed, then use:
.Range.ListFormat.ConvertNumbersToText
on the range that's to be converted to a table.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically put a text string at the beginning of a paragraph jthomas666 Word 2 08-22-2019 12:27 PM
VBA Bold text at beginning of paragraph Word macro to insert text at the beginning of paragraph but skip tables ashalles135 Word VBA 5 09-26-2018 09:49 AM
VBA Bold text at beginning of paragraph word macro To insert text at the beginning and at end of paragraph ArieH Word VBA 20 09-10-2017 04:23 PM
VBA Bold text at beginning of paragraph Macro to Insert text into the beginning on specific paragraphs unless the paragraph is blank caboy Word VBA 2 04-01-2015 07:00 AM
Looping macros to add text to beginning and end of a paragraph pachmarhi Word VBA 0 02-16-2009 06:57 AM

Other Forums: Access Forums

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