Copying only cells with data in them

  • Thread starter Thread starter JK192503
  • Start date Start date
J

JK192503

I am trying to figure out a way to write a code that will select and copy
only those cells within a selected range that have data in them, and to
suppress those that are empty.

The information will eventually be "paste-special-ed" into a word document,
such that automatic updating is possible.

I'd appreciate any ideas anyone might have.

Thanks!
 
You might need to clarify your request a little. This selection... is a
column or a row only? If not (that is, if it is rectangular in shape and
more than one row high and more than one column wide), how is the copy to
take place if you want to eliminate empty CELLS only (that is, how is data
"collapsed" to fill in the blanks)? Or did you mean "rows" when you said
"cells"?

Rick
 

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

Back
Top