+ Reply to Thread
Results 1 to 3 of 3

VBA coding with R1C1 reference style

  1. #1
    Registered User
    Join Date
    08-27-2017
    Location
    Modesto, CA
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    91

    VBA coding with R1C1 reference style

    What is the syntax for referring to the specified range?

    Please Login or Register  to view this content.
    doesn't work.

    Thanks.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    Re: VBA coding with R1C1 reference style

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,803

    Re: VBA coding with R1C1 reference style

    Early in my VBA programming, I tried to use R1C1 notation in the Range("text") method. Unless something has changed, I don't believe the Range("text") method supports R1C1 notation.
    When one wants to use integer variables to refer to cells and ranges, one can use the .Cells(row,column) method to refer to a cell. One can also use the .Offset and .Resize methods. This code uses three different methods to define the same range
    Please Login or Register  to view this content.
    It may be useful to review this, including the examples given of different ways to refer to cells and ranges: https://msdn.microsoft.com/en-us/vba...e-object-excel
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] R1C1 reference style default checked - driving me crazy
    By sheriberi in forum Excel General
    Replies: 11
    Last Post: 10-23-2012, 11:44 AM
  2. absolute cell reference in R1C1 reference style
    By Prorocentrum in forum Excel General
    Replies: 1
    Last Post: 06-18-2007, 04:59 PM
  3. Stuck in R1C1 reference style
    By 2504 in forum Excel General
    Replies: 9
    Last Post: 12-30-2006, 09:05 PM
  4. R1C1 style reference as Condition
    By aca in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-07-2006, 08:40 AM
  5. How to code with the R1C1 Style of Reference?
    By plh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2006, 02:35 PM
  6. R1C1 Reference Style won't STAY gone?
    By khrystle in forum Excel General
    Replies: 5
    Last Post: 03-01-2006, 06:40 PM
  7. Replies: 1
    Last Post: 01-18-2006, 11:35 AM
  8. [SOLVED] R1C1 reference style
    By Peg P in forum Excel General
    Replies: 2
    Last Post: 11-15-2005, 02:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1