+ Reply to Thread
Results 1 to 4 of 4

Open a text box based upon cell entry

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Open a text box based upon cell entry

    Hello all,

    First post and quite new to VBA and macro's in Excel.

    I have a validated list drop box in cell D10. It defaults to a blank, because this cell will not be necessary for all users.

    When an option is chosen from the list, I need the user to input a single number of hours scheduled for the task they choose and paste that number to cell AA1.

    I also need to clear cell AA1 if the drop down list cell, D10, is cleared.

    Really appreciate any help available.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Open a text box based upon cell entry

    1) Right click the sheet tab and select VIEW CODE to open the sheet's code module in VBA

    2) Paste in these event macros:

    Please Login or Register  to view this content.
    3) Close the vbeditor, make changes to cell D10
    Last edited by JBeaucaire; 05-07-2014 at 08:51 PM. Reason: Correction in red.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Open a text box based upon cell entry

    Thank you JB. It worked! Much appreciated!!!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Open a text box based upon cell entry

    Correction in red above.

+ 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: 4
    Last Post: 03-21-2014, 12:01 AM
  2. [SOLVED] Search text in cells, find matching text based on list, remove all but one entry
    By adam_mc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 12:50 PM
  3. Replies: 2
    Last Post: 08-19-2009, 10:35 AM
  4. another vlookup based on text entry
    By MattShoreson in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2006, 08:39 AM
  5. [SOLVED] Conditional formatting of an entire row based on a cell text entry
    By Gilles Desjardins in forum Excel General
    Replies: 2
    Last Post: 12-22-2005, 07:55 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