+ Reply to Thread
Results 1 to 4 of 4

Easy Questions - How to reference a cell?

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    66

    Easy Questions - How to reference a cell?

    I'm new to VBA and am trying to learn. How do I reference another cell's value based on it's relative position to ActiveCell.

    For example, the ActiveCell is C1. The cell A1 has a value. How do I reference it? Do I use something like RC[-2]?

    Thanks!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Easy Questions - How to reference a cell?

    Hi anon,

    few ways:-

    Please Login or Register  to view this content.
    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey
    +91 9810929744
    dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    12-23-2010
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Easy Questions - How to reference a cell?

    Thanks! First one works great.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Easy Questions - How to reference a cell?

    you are welcome anon..

    cheers

    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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