Refer to Group of cells in Excel 2007 using R1C1

  Desert Andy 11:16 19 Feb 2010
Locked

Hi

I am trying to write code to refer to a selectin of cells in a column sothat i can copy and paste them to another worksheet. Is it possible to refer to the cells using the R1C1 reference system. The reason for this is that i need to find out which column to copy the data from, and using numbers is much easier. Thanks

  VoG II 11:42 19 Feb 2010

Instead of Range("A2:D5") you can use

Range(Cells(2, 1), Cells(5, 4))

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Galaxy Note 8 vs iPhone X

Awful clip art from 1994 is being tweeted every hour by a bot

iPhone X vs Samsung Galaxy Note 8

Les meilleurs navigateurs internet 2017