ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   selecting cells which contain formulas but return blanks (https://www.excelbanter.com/excel-discussion-misc-queries/109506-selecting-cells-contain-formulas-but-return-blanks.html)

hot dogs

selecting cells which contain formulas but return blanks
 
I have a spreadsheet which returns a list of parts depending on information
entered. Depending on the information entered some rows in the list will
return blank from their formulas. I would like to write a macro to delete
these blank cells after the list has been created, however the 'Go To'
command function will not detect the blank cells as blank cells as they have
a formula entered into them. How can I select these cells and delete them
from my list, without having to select them and delete them row by row?

Bob Phillips

selecting cells which contain formulas but return blanks
 
Check each cell for a value of "".

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
I have a spreadsheet which returns a list of parts depending on

information
entered. Depending on the information entered some rows in the list will
return blank from their formulas. I would like to write a macro to delete
these blank cells after the list has been created, however the 'Go To'
command function will not detect the blank cells as blank cells as they

have
a formula entered into them. How can I select these cells and delete them
from my list, without having to select them and delete them row by row?




hot dogs

selecting cells which contain formulas but return blanks
 
Could you explain how to do this please?

"Bob Phillips" wrote:

Check each cell for a value of "".

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
I have a spreadsheet which returns a list of parts depending on

information
entered. Depending on the information entered some rows in the list will
return blank from their formulas. I would like to write a macro to delete
these blank cells after the list has been created, however the 'Go To'
command function will not detect the blank cells as blank cells as they

have
a formula entered into them. How can I select these cells and delete them
from my list, without having to select them and delete them row by row?





Bob Phillips

selecting cells which contain formulas but return blanks
 
Sorry, I assumed you had your basic code.

What exactly do you mean by delete the cell, shift the next cell (column)
right, or next cell(row) up?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
Could you explain how to do this please?

"Bob Phillips" wrote:

Check each cell for a value of "".

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
I have a spreadsheet which returns a list of parts depending on

information
entered. Depending on the information entered some rows in the list

will
return blank from their formulas. I would like to write a macro to

delete
these blank cells after the list has been created, however the 'Go To'
command function will not detect the blank cells as blank cells as

they
have
a formula entered into them. How can I select these cells and delete

them
from my list, without having to select them and delete them row by

row?







All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com