Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula Referencing Worksheet Name by Variable
Hi,
Sub TEST() With ActiveSheet .Range("B2").Formula = "='" & Sheets.Add.Name & "'!A7" .Activate End With End Sub -- Regards, Soo Cheon Jheong _ _ ^ ^ V |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Replace worksheet without affecting the referencing formula | Excel Discussion (Misc queries) | |||
Variable Worksheet Name in Formula | Excel Worksheet Functions | |||
Formula Referencing Worksheet Name by Variable | Excel Programming | |||
referencing worksheet as a variable | Excel Programming | |||
Referencing variable | Excel Programming |