Macro to delete all blank cells

G

Guest

I am doing a chart that is dependent of a summary table from other sheets.
As I choose a client, some cells in the summary table become blank and the
graph treats them as a 0. How can I create a macro that will open a sheet in
a workbook copy and paste values into the table and then delete the blank
cells (like clicking the delete key in eac cell). That seems to fix it, but
I cannot do it automatically.

Thanks
 
G

Guest

You can record a macro to do this if you want. As a guess the only part you
are missing is to select all of the empty cells, hit the F5 key Select
Special and then select empty cells...
 

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