View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Randall Randall is offline
external usenet poster
 
Posts: 20
Default Union over multiple sheets

Is it possible to get a Union of ranges over multiple sheets? Something like:

Set RngA = Sheets(1).Range("A1:A5")
Set RngB = Sheets(2).Range("B2:B10")
Set Rng = Union(RngA, RngB)

The above code give a "Method 'Union' of object '_Global' failed" Error, ie
You can't Union ranges from multiple sheets. Does anyone know a workaround
to this?

Tx,
Randall