Macro Script

G

Guest

I have 2 tabs on a spreadsheet. Tab 1 contains a bunch of data with fixed
columns but random # of rows (whenever the data get updated).

Is there a macro script or formula to copy specified range of data in tab 1
to tab 2, and omitting all the blank rows?

I know it's kind of general .. but any advice will be appreciated. Thank you.
 
G

Guest

Consider using a single block copy/paste to copy ALL the rows from tab1 to
tab2 and then remove the empty rows in tab2 by a macro.
 
G

Guest

Try this:

(Save your data, first, to another worksheet!!)

Highlight Column A, press the F5 key, Special, Blanks

The blank cells will be highlighted.

Press Ctrl - (Control and the Minus key)
Select Delete Rows

That should do it.

If it works, you could record a macro to use on your saved data.

HTH,

CaroleO
 

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