sample macro

A

alex

hello everyone.

can someone give me a sample code that could scanned a column for non-blank
cell of another worksheet and retrieve data to be entered to another
worksheet. honestly, i don't know how to make a macro but i've read it could
be done with looping statement.

thanks
 
A

aamerrasheed via OfficeKB.com

Do you want that non-blank cells should be copied to another worksheets?
 
A

alex

yes, i need to copy non-blank cells to another worksheets. it's really
comlicated to explain since there will be set of conditions to the whole
process but yes generally that's what supposed to happened. this would be the
first time i actually be doing macro.
 
D

Don Guillett

The macro recorder can be your friend. Record a macro while doing
data>filter>autofilter>non blank>copy>paste
 
A

alex

Thanks Don, but the data i want to copy needs to meet certain conditions. how
could i attached a file so i could explain it better.
 
D

Don Guillett

You can't attach a file here and shouldn't anyway. If desired, send you file
to my address below along with a very clear explanation of what you want,
snippets of these messages copied to an inserted sheet, and before/after
examples.
 
K

Kenneth Hobson

You can post to free shared sites like: 4shared.com, box.net and
mediafire.com.
 

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