+ Reply to Thread
Results 1 to 7 of 7

how to switch between R1C1 and A1

  1. #1
    Registered User
    Join Date
    07-03-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    89

    how to switch between R1C1 and A1

    Title says it all, what is the code to switch between R1C1 coordinates, and A1?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,289

    Re: how to switch between R1C1 and A1

    Please Login or Register  to view this content.
    and
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    07-03-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: how to switch between R1C1 and A1

    i cant get it to work thoughm what im trying to do is
    HTML Code: 
    in the first free column i want to paste som data, and further down i need to get just the 2 first letters in the row 25 lines up.
    However i dont think the left function exists in vba, is there anything similar i can use?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,289

    Re: how to switch between R1C1 and A1

    The Left function does exist in VBA but you're trying to use it like a formula. You either need to enter a formula into the cell, or calculate the row number in VBA. Neither requires you to switch the reference style.
    Please Login or Register  to view this content.
    or:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-03-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: how to switch between R1C1 and A1

    that worked! thanks. however next step i need to check if the number in that cell is 01,04,07, or 10. Assigning Q1,Q1,Q3, and Q4 respectively.

    HTML Code: 
    I dont understand this very well, why wont this work ? im sure its not efficient or whatever, but i dont see why it keeps stopping

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,289

    Re: how to switch between R1C1 and A1

    You need to double up quotes in the formula string, and you need to use commas rather than semicolons as separators (VBA wants US format):
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-20-2014
    Location
    Scotland
    MS-Off Ver
    2010 & 2013 professional
    Posts
    16

    Re: how to switch between R1C1 and A1

    for anyone who switches r1c1 and A1 style frequently I thoroughly recommend creating an adding to rebuild the formula tab that contains a toggle button to switch modes. whilst you are at it, create a button for the sheet calculation menu that calculates the selected range only. I use these two very frequently.

+ 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. Replies: 0
    Last Post: 04-22-2014, 10:59 AM
  2. [SOLVED] R1C1
    By Arne Hegefors in forum Excel General
    Replies: 1
    Last Post: 08-18-2006, 05:15 AM
  3. Replies: 1
    Last Post: 01-18-2006, 11:35 AM
  4. [SOLVED] A:1 now R1C1
    By Michael E W in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-24-2005, 07:40 PM
  5. [SOLVED] R1C1 v A1
    By andy_hammer2001(remove) in forum Excel General
    Replies: 6
    Last Post: 10-13-2005, 12:05 AM

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