Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing
I want to reference cells in sheet one and cells in sheet two in a
macro. How is that best done? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing
With ActiveWorkbook
Sheets("Sheet1").Range(A1).-Action- Sheets("Sheet2").Range(A1).-Action- End Wit -- Message posted from http://www.ExcelForum.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing
Hi
something like sub foo() dim rng1 as range dim rng2 as range set rng1 = worksheets("sheet1").range("A1") set rng2 = worksheets("sheet2").range("A1") msgbox rng1.value & " - " & rng2.value end sub -- Regards Frank Kabel Frankfurt, Germany ED wrote: I want to reference cells in sheet one and cells in sheet two in a macro. How is that best done? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing
Thank you both for the help. Ed English On Fri, 23 Jul 2004 14:30:14 -0500, ED wrote: I want to reference cells in sheet one and cells in sheet two in a macro. How is that best done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cell Referencing | Excel Discussion (Misc queries) | |||
Cell referencing | Excel Discussion (Misc queries) | |||
Cell Referencing | Excel Discussion (Misc queries) | |||
Cell Referencing | Excel Discussion (Misc queries) | |||
Referencing Cell Next To Today's Date Cell | Excel Discussion (Misc queries) |