View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Niek Otten Niek Otten is offline
external usenet poster
 
Posts: 3,440
Default Incrementing columns

sheets("sheet1").cells(15,20)

--
Kind regards,

Niek Otten

"grahammal" wrote
in message ...

Incrementing rows in VB is of cause easy as they are numbered but how
can I increment columns as they are alphabetical?
Even if I change to R1C1 reference style, how can I relate to a cell?
Normally the reference Sheets("Sheet1").Range("A1").Select is OK
but in R1C1 format, cell "A1" becomes "R1C1". VB dos'nt seem to
recognise this.
What do I put in the same command instead of ""A1"?


--
grahammal
------------------------------------------------------------------------
grahammal's Profile:
http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=484299



 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.