I am also having trouble with ranges. I need to select a range based on a
subroutine calculating a variable row numbers. I eventually want something
like this:
Range("B2:G21").select
for a print. B2 & G21 needs to be inputed a variable range from a string:
rangestart = "B" & m
rangeend = "G" & n
(where m & n are integers)
This is what I have so far. Any other methods are welcomed!
Your error suggests that either the worksheet or range you are trying to
select is protected, and you are not specifying the worksheet so VBA is
assuming it is the current active worksheet, is that what you want?