Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to have the sheets reference read the contents of a cell eg
Sheets(A1) where A1 contains JUN06 and would change if I altered A1 to JUL06 ? Sheets("JUN06").Range("E5:AO10000").AdvancedFilter Action:=xlFilterCopy, _ CriteriaRange:=Range("E1:F2"), CopyToRange:=Range("C6:AJ6"), Unique: =False rows("6:6").Copy rest of macro etc -- Message posted via http://www.officekb.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
something like
sheets(range("A1").value).range.... would be what you want I think Francois via OfficeKB.com wrote: Is it possible to have the sheets reference read the contents of a cell eg Sheets(A1) where A1 contains JUN06 and would change if I altered A1 to JUL06 ? Sheets("JUN06").Range("E5:AO10000").AdvancedFilter Action:=xlFilterCopy, _ CriteriaRange:=Range("E1:F2"), CopyToRange:=Range("C6:AJ6"), Unique: =False rows("6:6").Copy rest of macro etc -- Message posted via http://www.officekb.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
wrote:
something like sheets(range("A1").value).range.... would be what you want I think Is it possible to have the sheets reference read the contents of a cell eg Sheets(A1) where A1 contains JUN06 and would change if I altered A1 to [quoted text clipped - 6 lines] rest of macro etc I'll give it a try. Thanks for the info -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200606/1 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
wrote:
something like sheets(range("A1").value).range.... would be what you want I think Is it possible to have the sheets reference read the contents of a cell eg Sheets(A1) where A1 contains JUN06 and would change if I altered A1 to [quoted text clipped - 6 lines] rest of macro etc Wonderful, Thanks again -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200606/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shortcut to change change cell reference to Absolute reference? | Excel Worksheet Functions | |||
change change cell reference to Absolute reference | Excel Discussion (Misc queries) | |||
XL how to change a cell reference in a formula to variable value? | Excel Worksheet Functions | |||
add new sheets in a workbook with new sheets being a variable | Excel Discussion (Misc queries) | |||
How to have a variable cell reference across sheets? | Excel Discussion (Misc queries) |