+ Reply to Thread
Results 1 to 5 of 5

Make active cell populate value in another cell

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    11

    Make active cell populate value in another cell

    Hi guys,
    I already have this working on my spreadsheet to make D3 populate wherever my active cell is using:

    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you have a low post count. --6StringJazzer

    But i want to add a range to it.
    How can i make it so that if i click on any cell in a range from A4:A40, have that cells value populate to D3.

    The reason i need the range is so when click away from the range, all my formulas based off of D3 will either change or try to recalculate which slows everything down and since i have a massive amount of data being pulled from D3 it starts to circular reference and so on...

    Thanks
    Matt
    Last edited by schaefer921; 08-27-2015 at 01:47 PM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Make active cell populate value in another cell

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Make active cell populate value in another cell

    That works perfectly, thanks!

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Make active cell populate value in another cell

    You're welcome. Thanks for the feedback.

    Also, you could populate D3 without using a named range.
    Range("D3").Value = Target.Value

  5. #5
    Registered User
    Join Date
    11-05-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Make active cell populate value in another cell

    is there a negative side to the named range? the fastest possible way would be preferred. I already changed over all my arrays and vlookups to Index Match.

    On a side note would excel calculate faster if i entered all my 250ish Index match formulas as VBA instead of just function formulas?
    I am also running 4 of these guys in separate worksheets =IF(ISNUMBER(SEARCH('Vendor Database'!$C$1,B2)),MAX($A$1:A1)+1,0) to provide a count for my Index Match. Would that be faster as VBA, everything used to be lightning fast, then i added a worksheet of payments, around 60,000 rows of data and now its processing it slowly..

+ 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] Userform better coding to make a cell the active cell
    By Apache_sim in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-11-2015, 02:30 AM
  2. [SOLVED] if workbook inactive for 30sec make last empty cell in column b the active cell
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-30-2013, 09:01 PM
  3. [SOLVED] How to make a different cell equal active cell
    By Jaron_t in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2012, 05:53 PM
  4. Replies: 16
    Last Post: 03-09-2011, 12:27 PM
  5. Populate current active cell - Help Please!!
    By Larry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-19-2006, 05:25 PM
  6. [SOLVED] Mouse click on cell does not make cell active
    By Jerry in forum Excel General
    Replies: 2
    Last Post: 05-01-2006, 05:40 PM
  7. [SOLVED] find text in a cell and make cell 2 cells below that active
    By shark102 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2005, 10: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