Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy the value of the activecell on sheet1 to the same address on sheet 2
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.) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy the value of the activecell on sheet1 to the same address onsheet 2
worksheets("sheet2").range(activecell.address).val ue = 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. Maxx wrote: 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.) -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy the value of the activecell on sheet1 to the same address on sheet 2
Thak you so much.
"Dave Peterson" wrote in message ... worksheets("sheet2").range(activecell.address).val ue = 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. Maxx wrote: 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.) -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
address of activecell in another sheet | Excel Programming | |||
copy data from sheet1 to sheet but in varying positons | Excel Worksheet Functions | |||
Copy from file1 sheet1/file2 sheet1 last blank row | Excel Programming | |||
Bug - Programmatic copy/paste other sheet to activecell | Excel Programming | |||
Macro-Copy various cells in sheet1 into next available row in sheet 2 | Excel Discussion (Misc queries) |