+ Reply to Thread
Results 1 to 4 of 4

create small user entry form for one cell

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    create small user entry form for one cell

    Is it possible to create a user form that will pop up and ask what value is to be entered into a particular cell?

    in worksheet there is cell BF5. click a button or a hot key and a pop up opens with one data entry window. Type your data and hit enter or ok or whatever and your data is placed in cell BF5. Seems simple but I cant make it work right.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,122

    Re: create small user entry form for one cell

    Put this in your sheet module
    Enter something into BF5
    Please Login or Register  to view this content.

    EDIT....OR Thisworkbook module to run when cell is activated...

    Please Login or Register  to view this content.
    Last edited by sintek; 06-08-2018 at 08:07 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,855

    Re: create small user entry form for one cell

    No need for user form. Just use Application.Inputbox

    Ex:
    Please Login or Register  to view this content.
    I set the type to string. Change it as needed. See link for Application.InputBox detail.
    https://msdn.microsoft.com/en-us/vba...x-method-excel

    FYI - Alternately you can trigger it by using Worksheet_BeforeDoubleClick event.
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,057

    Re: create small user entry form for one cell

    Another option:

    Create a button, and assign it the following macro:

    Please Login or Register  to view this content.
    I'm slow today, this time it was CK76 that I duplicated... lol
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ 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] Macro to add a comment to a cell via a text entry box from a user form
    By Stevecraig211 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2016, 09:47 AM
  2. User form box too small to use - HELP
    By winwall in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2015, 12:07 PM
  3. Msg box based on cell value from user form entry
    By lacey0519 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2014, 10:42 AM
  4. [SOLVED] User Form - Hyperlink Button within a Form, to create a Link on a Designated Cell
    By Sinalk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 07:29 AM
  5. [SOLVED] Small help with user form to create a database
    By zaska in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 07-21-2013, 10:47 PM
  6. Help on very small user form
    By ronlaboa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2012, 03:20 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