copy the value of the activecell on sheet1 to the same address on sheet 2

M

Maxx

How can I copy the value of the activecell on sheet1 to the same address on
sheet 2?

(So if activecell on sheet 1 is B8, macro will copy value to B* on sheet 2.)
 
D

Dave Peterson

worksheets("sheet2").range(activecell.address).value = activecell.value
(where sheet1 is the activesheet.)

Actually, this just "copies" the value.

activecell.copy _
destination:=worksheets("sheet2").range(activecell.address)

Would do the copy|paste.
 
M

Maxx

Thak you so much.


Dave Peterson said:
worksheets("sheet2").range(activecell.address).value = activecell.value
(where sheet1 is the activesheet.)

Actually, this just "copies" the value.

activecell.copy _
destination:=worksheets("sheet2").range(activecell.address)

Would do the copy|paste.
 

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