Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello there,
Can't understand why I can't find the solution to thins simple problem anywhere. Set d = Range("Year:" & c.Offset(-1, 0)).Find(Range("ReportYear"), LookIn:=xlValues) I don't know how to wright the syntax for a range which uses a variable. Must be a common problem or? It workes when I do like this: b = 1 Set d = Range("A" & b) But when i want a range from "a" to "b" and use the symbol of ":" it doesn't work. Can someone help me please, I get an error all the time. /Animal -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
select range and put range address in variable | Excel Programming | |||
Macro to copy a specified range to a variable range | Excel Programming | |||
setting a range variable equal to the value of a string variable | Excel Programming | |||
Using Variable in RANGE | Excel Programming | |||
Problem trying to us a range variable as an array variable | Excel Programming |