Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to (when a different sheet is active)
This is extremely simplified, but represents the problem. I think I'm hoping "With" carries a little more juice. Sub WorkingIt() Dim iWish As Range With Sheet2.Range("rngOne") ' Named range =Sheet2!$D$7:$G$14 .Range(Cells(3, 3), Cells(4, 4)).Value = 45 Set iWish = .Range(Cells(2, 3), Cells(4, 4)) End With End Sub -- Jim at Eagle |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying the active worksheet to another worksheet in the same work | Excel Worksheet Functions | |||
Deleting column in a worksheet that is not active worksheet | Excel Programming | |||
Basic Question - How do I return the worksheet number of the active worksheet? | Excel Programming | |||
Altering code to reference the worksheet before the active worksheet | Excel Programming | |||
macro to apply worksheet event to active worksheet | Excel Programming |