+ Reply to Thread
Results 1 to 4 of 4

Cell value = active selection?

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    Cell value = active selection?

    where ever the cursor box is, show the value of that selection in C1

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Cell value = active selection?

    You need an event macro to do this.

    Select the sheet that you want this to happen in.

    Right click the sheet tab and select: View code

    Copy the code below and paste it into the right side of the window that opens:

    Please Login or Register  to view this content.
    Close the window to return to Excel
    Try it out!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    Re: Cell value = active selection?

    Quote Originally Posted by Tony Valko View Post
    You need an event macro to do this.

    Select the sheet that you want this to happen in.

    Right click the sheet tab and select: View code

    Copy the code below and paste it into the right side of the window that opens:

    Please Login or Register  to view this content.
    Close the window to return to Excel
    Try it out!
    Cool, thanks, I just had to change .Address to .Value and I got the cell contents

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Cell value = active selection?

    You're welcome. Thanks for the feedback!

+ 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] Range Selection and Active Cell problem
    By GazzaLDN in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2013, 07:47 AM
  2. Replies: 2
    Last Post: 12-23-2012, 09:26 AM
  3. Referring to Active Cell Selection
    By Toby.Leheup in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2011, 06:46 AM
  4. running vba on active cell selection
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2008, 02:07 PM
  5. Selection:Active.Cell
    By CARLOS BAPTISTA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2006, 11: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