View Single Post
 
Old 12-14-2016, 07:03 AM
rocky2 rocky2 is offline Windows 10 Office 2013
Novice
 
Join Date: Feb 2016
Posts: 25
rocky2 is on a distinguished road
Default How to find out if selection is in table

Hi,

I want to search for a certain style. I need to check if the selection is in a table, and if it is then in which row.

Because I search for the style, I have the selection and not the Paragraph.Range.

Is there any way to do that?

(Actually, what I really want to do is check for cells in which the font is white nd the background is white and then change the font to black. However, even though the paragraph style is correct, the font is set to automatic so when I search for white I don't get anything.)

Thanks,
Rocky
Reply With Quote