Trying to Set a range. What is the syntax if I want to use a named cell. "a1" and a variable like lastrow18. I have the variable lastrow18 set as a string and the value is stored as the last row of the column I am evaluating.
Ex: Set range18 = Range("a1:lastrow18")
What is the proper syntax to use?
Ex: Set range18 = Range("a1:lastrow18")
What is the proper syntax to use?