Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-25-2018, 05:00 AM
ashalles135 ashalles135 is offline Word macro to insert text at the beginning of paragraph but skip tables Windows 7 64bit Word macro to insert text at the beginning of paragraph but skip tables Office 2010 64bit
Novice
Word macro to insert text at the beginning of paragraph but skip tables
 
Join Date: Sep 2018
Posts: 4
ashalles135 is on a distinguished road
Default Thanks, but not doing what I was hoping for

I apologize for not being clear. I added more description, but that seems to have made it more confusing. We have a separate macro that formats the tables, so I don't want this to format the tables.



The macro I posted adds a "(U) " to everything styled "normal" which includes every cell in every table.

I was hoping for code that would skip anything in a table.

I tried the macro you posted, and was patient for a while, but it seemed to just be locked up. So I ended the task and when I opened up the test file again, it had hundreds of "(U) "s in the table of contents. But nothing in the text.

I can't send the Word file, but I attached one with a screen shot.
Attached Files
File Type: docx Us in toc.docx (65.1 KB, 9 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word macro to insert text at the beginning of paragraph but skip tables Convert particular blocks of text within a word document to tables using macro benbob Word VBA 5 07-15-2018 03:20 AM
Word macro to insert text at the beginning of paragraph but skip tables word macro To insert text at the beginning and at end of paragraph ArieH Word VBA 20 09-10-2017 04:23 PM
Word macro to insert text at the beginning of paragraph but skip tables Can't insert space at the beginning of a line in Word p89.schneider Word 6 03-24-2016 11:38 PM
Word macro to insert text at the beginning of paragraph but skip tables 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 07:17 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