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?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.