I wasn't sure how to proceed/it if is possible... I have a Word (2007) doc that I've highlighted manually. Can I use VBA to pull out just the colored text? I'd either copy the colored text to a new doc, or stip out the non-colored text from the current doc, then save it as a new name. Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com
"Marco Shaw [MVP]" wrote in message news:e$NxkClnIHA.2328@TK2MSFTNGP03.phx.gbl... >I wasn't sure how to proceed/it if is possible... > > I have a Word (2007) doc that I've highlighted manually. Can I use VBA to > pull out just the colored text? > > I'd either copy the colored text to a new doc, or stip out the non-colored > text from the current doc, then save it as a new name. > The latter approach is probably easier. press Ctrl-H to display the Edit Replace dialog. Click the More button. With the cursor in the Find What textbox, click the Format button and select Font. on the dialog that appears, set the font color to Automatic. Then click Replace All. All the text that hasn't been coloured should be deleted. -- Regards Jonathan West - Word MVP www.intelligentdocuments.co.uk Please reply to the newsgroup
> The latter approach is probably easier. press Ctrl-H to display the Edit > Replace dialog. Click the More button. With the cursor in the Find What > textbox, click the Format button and select Font. on the dialog that > appears, set the font color to Automatic. Then click Replace All. All the > text that hasn't been coloured should be deleted. > > Thanks. Actually the text was highlighted, but there was an option in there also. This was definitely easier than using VBA!