How do I paste information to hidden worksheets?
I'm guessing that you're trying to select the hidden sheet (or select a range on
that hidden sheet) first.
You don't need to select a range to work with it:
dim myRng1 as range
dim destcell as range
with worksheets("sheet99")
set myrng1 = .range("a1:x99")
end with
set destcell = worksheets("hidden").range("b27")
myrng1.copy _
destination:=destcell
sir Lancelot wrote:
I have several Protected and shared workbooks on the network. All are
identical and have hidden worksheets. I have a master that does not have the
worksheets hidden which contains a macro that changes the information in a
name range. The macro works just fine, but when i run the macro it cant find
the sheet indicated in the other workbooks because the sheets are hidden. Is
there a solution with-out having to unprotect the other workbooks?
--
Dave Peterson
|