Macro Question

  • Thread starter Thread starter Ramone
  • Start date Start date
R

Ramone

Hello All,

Could some please tell me how to write a macro that will
past the data from cell 1A into cell C10 if C10 is blank
and past the date in C11 if C10 is not blank.


Thanks for any help
 
sub XX()
if cells(10,3)="" then cells(10,3)=cells(1,1) else cells
(11,3)=cells(1,1)
end sub
 
Thanks for the reply
-----Original Message-----
sub XX()
if cells(10,3)="" then cells(10,3)=cells(1,1) else cells
(11,3)=cells(1,1)
end sub
.
 

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