Thread
: [Solved]
Macro for table with zeros
View Single Post
04-16-2012, 05:07 AM
macropod
Windows 7 64bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
Hi umesh,
Change:
If StrTmp = "" Then .Delete
to:
If StrTmp = "" And InStr(Rng.Text, "0") > 0 Then .Delete
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod