Blank Cells

N

Navin G

Hi,

I have a document with so many tables. In these tables
there are some blank cells in it. How can I find these
blank cells? Is there any built-in command in MS Word.

Thanks,
Navin G.
 
D

Doug Robbins - Word MVP

Hi Navin,

If you apply the VBA Len() function to the .Text property of the .Range of a
cell, it will return a value of 2 for any cell that is empty.

You could therefore use that feature to iterate through all of the cell of
all of the tables in the document to locate the empty ones. The question
is, "what do you want to do with the empty ones?"

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top