Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Invisible Contents

I have a macro that is trying to delete a row if the cell
in Col A is empty.

However, it is not deleting the rows like it should. The
appropriate cells appear empty and when I hold the cursor
over the "activecell" in VB it shows """".

Even though I can't see it, there must be something there
because when I manually "clear contents" for a specific
cell, the macro works like it is supposed to.

The file I'm using was originaly saved as an Excel 2.1
worksheet. I have tried saving it as 5.0 and 97 and as an
Excel workbook but I get the same results unless I
manually clear contents on each blank cell.

Is there a way to clear the contents only on those cells
without data?

Thanks for the help......
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Invisible Contents

Jeff, try a test like the following:

If Range("A12") ="" then
'delete row
end if

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Jeff" wrote in message
...
I have a macro that is trying to delete a row if the cell
in Col A is empty.

However, it is not deleting the rows like it should. The
appropriate cells appear empty and when I hold the cursor
over the "activecell" in VB it shows """".

Even though I can't see it, there must be something there
because when I manually "clear contents" for a specific
cell, the macro works like it is supposed to.

The file I'm using was originaly saved as an Excel 2.1
worksheet. I have tried saving it as 5.0 and 97 and as an
Excel workbook but I get the same results unless I
manually clear contents on each blank cell.

Is there a way to clear the contents only on those cells
without data?

Thanks for the help......



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
text is invisible learningaccess Excel Discussion (Misc queries) 2 September 23rd 08 09:57 PM
Invisible sheets emilh Excel Worksheet Functions 2 May 20th 08 02:30 PM
invisible text yorkielover02 Excel Discussion (Misc queries) 5 September 16th 05 04:29 PM
What is invisible in a cell?l Kanga 85 Excel Worksheet Functions 4 February 23rd 05 07:49 PM
Set Workbook to invisible? S. Daum Excel Programming 1 August 6th 03 09:46 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"