Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-28-2013, 10:58 PM
Adriano Adriano is offline Find Replace Windows 7 64bit Find Replace Office 2010 32bit
Novice
Find Replace
 
Join Date: Feb 2013
Posts: 10
Adriano is on a distinguished road
Default Find Replace

Hi,

I'm new to VBA, but I think I need one to my problem.

The situation is:

I have a document with text and tables like this

b) text

(the first cell is a), b), c) and so on... and the second is a text)


I have another a) b) and c) in the document I don't want to change, so
I've managed to format those cells with a special style like below:

Code:
Sub format_tables()
Dim tTable As Table
For Each tTable In ActiveDocument.Tables
  tTable.Select 
  Selection.Style = ActiveDocument.Styles("Table-1")
Next 
End Sub
My question is:

I want to find those formated a) b) c) and so on


and convert the table in which they are in regular text.

Thank you,

Adriano

Last edited by macropod; 03-01-2013 at 12:13 AM. Reason: Added code tags & formatting
Reply With Quote
 

Tags
find, replace, tables



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Find/Replace or VBA davidku Word 4 04-27-2012 04:39 PM
Find Replace Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find Replace Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Find Replace Find and Replace kjxavier Excel 3 08-12-2011 10:49 PM
Find Replace Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

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