+ Reply to Thread
Results 1 to 4 of 4

User click cell, User input box shows up, User input Numerical Value, Output formula

  1. #1
    Registered User
    Join Date
    04-05-2022
    Location
    Dallas, TX
    MS-Off Ver
    2018
    Posts
    2

    Post User click cell, User input box shows up, User input Numerical Value, Output formula

    Hi, I need help with a macro that shows a user input box when user clicks on certain cells. From there, user must input a numerical value. Then the output would be a formula based on another sheet in the workbook. Thanks!
    Attached Files Attached Files
    Last edited by femia; 04-05-2022 at 10:54 AM. Reason: Someone solved it

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner VA USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,426

    Re: User click cell, User input box shows up, User input Numerical Value, Output formula

    1. When user clicks on any red cell (conditional formatted), user input box pops up
    There is no conditional formatting on this sheet. I based the code on the display color of the cells in your sample. A more reliable method would be to duplicate the logic of the conditional formatting, if you are indeed going to use it.
    *=B3*Sheet2!B2
    There is no Sheet2 in this file. I will use Min instead.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-05-2022
    Location
    Dallas, TX
    MS-Off Ver
    2018
    Posts
    2

    Re: User click cell, User input box shows up, User input Numerical Value, Output formula

    You are a genius! Thank you!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner VA USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,426

    Re: User click cell, User input box shows up, User input Numerical Value, Output formula

    Please consider rewarding genius by adding to my reputation by clicking on the star icon addreputationiconsmall.jpg below my name.

+ 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: 5
    Last Post: 09-24-2019, 03:48 PM
  2. [SOLVED] Having user input and a formula (that can incorporate the user input) in the same cell.
    By Super_Bob in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-21-2018, 05:55 AM
  3. Replies: 15
    Last Post: 07-11-2017, 10:55 AM
  4. Change event to Convert (calculate) user input if user types % sign
    By soundneedle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2016, 12:01 PM
  5. [SOLVED] VBA for click to add the value of one cell + a user input to another
    By rjnewsome in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-19-2013, 12:22 AM
  6. Pause macro for user input then search for user's answer across multiple sheets
    By sassy2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-04-2009, 03:55 AM
  7. [SOLVED] How to set user's input in textbox to be numerical?
    By Chwa See Kiap in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2006, 05:15 AM

Tags for this Thread

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