Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Say we want to put a message in Sheet2
Sheet1, cell A1 contains Z100 (the destination address) Sheet2, cell A2 contains the message: "Klaatu barada nikto" Here is a sample macro: Sub gort() Set a1 = Range("A1") Set a2 = Range("A2") destin = a1.Value a2.Copy Sheets("Sheet2").Range(destin) End Sub -- Gary''s Student - gsnu200798 "jpbat1591" wrote: Hi, I am wondering if anyone could shed some light on how i can program a value say in A1 that is constantly changing, and use the value as the destination to paste information on another sheet. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to select range from active cell range name string | Excel Programming | |||
Macro deletes row in range, macro then skips the row moved up | Excel Discussion (Misc queries) | |||
Macro to copy a specified range to a variable range | Excel Programming | |||
Macro won't execute when "For Each 'range' in 'range'" is added | Excel Programming | |||
Macro to input formula in range based on another range | Excel Programming |