Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() The following logic exist to form an archive of the changing values of A1 and A2 (.Cells(xlr, 8) = .Range("A1")). What if A1 value of an other excel sheet (or book) (other then "sheet1") is referenced? Sub ArchiveA2() Dim xlr As Long With Sheets("Sheet1") .Range("G1") = "Value" xlr = .Cells(Rows.Count, "G").End(xlUp).Row + 1 .Cells(xlr, 7) = Format(Date, "dd/mm/yyyy") .Cells(xlr, 8) = .Range("A1") .Cells(xlr, 9) = .Range("A2") End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Refer to worksheet | Excel Programming | |||
refer to specific worksheet | Excel Programming | |||
How can I refer a particular Sheet in a work book from a word doc | Excel Programming | |||
Using a txt string to refer to other work book | Excel Worksheet Functions | |||
Q - Excel 2000: How to refer to worksheet in the same book? | Excel Worksheet Functions |