Dr.Evil925
New Member
- Joined
- Feb 24, 2011
- Messages
- 22
I have a macro that sets a range named FoundCell.
How can i access the cell locations in it so i can change them, or reference them later in my code?
example
if "FoundCell" is range A1:A5 how can i see that info first, second how can i change that to A1:A10?
Thanks in advance.
Code:
Dim FoundCell As Range
Set FoundCell = .Find(what:=cbCust.Value, LookIn:=xlValues, lookat:=xlWhole, MatchCase:=faulse)
example
if "FoundCell" is range A1:A5 how can i see that info first, second how can i change that to A1:A10?
Thanks in advance.