View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Error in Range Statement

What error does it give?

What values are in strWrkSht, intCopyTo, intCopyTo1? Does that worksheet
exist?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"SHIPP" wrote in message
...
Does anyone know why this gives an error?

Worksheets(strWrkSht).Range(Cells(2, 2), Cells(intCopyTo,
intCopyTo1)).Select

--
M. Shipp