Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet with columns that extend beyond Z. I need to
programmatically select a range, and I opted not to use COLN = "A" sheet.range( COLN & "5:" & COLN+3 & "5" ) to avoid issues beyond Z. I'm using sheet.range(cells(row,coln),cells(row,coln+3)) which seems to work in most places. In this particular case, I need to select and copy / pastespecial cells from another sheet, and I keep getting error 1004 "Method range". My code is Set R=Sheets("other").Range(cells(row,coln),cells(row, coln+3)).Copy Is the issue the use of Cells() within the Range, or the way I'm using the other sheet? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help with defining column only from range of cells | Excel Programming | |||
Defining a range by the contents of cells? | Excel Programming | |||
Defining Range using Cells | Excel Programming | |||
Drop down defining content of a range of cells | Links and Linking in Excel | |||
Defining a variable Range for cells with values in them! | Excel Programming |