+ Reply to Thread
Results 1 to 3 of 3

Bring up userform when doubleclicking on activated cell, then populate array from inputs

  1. #1
    Registered User
    Join Date
    05-11-2018
    Location
    Cincinnati, OH
    MS-Off Ver
    365
    Posts
    5

    Bring up userform when doubleclicking on activated cell, then populate array from inputs

    Hi all -

    I have a userform set up with two text boxes and I'd like to be able to double click on any cell, bring up the userform, input two values into the fields, and then have those two values write into that cell as an array string. ={value1, value2}. value 1 is an integer, value 2 is text

    I started with:
    Please Login or Register  to view this content.
    1) How can I make it bring it up a userform when I click any cell and not A1?

    I'm lost on the second option. I've looked at the various dimArray options on the forums but didn't find anything specific to both of these combined. Let me know if you have any ideas
    Last edited by Leith Ross; 05-11-2018 at 11:58 AM. Reason: Added Code Tags

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Bring up userform when doubleclicking on activated cell, then populate array from inpu

    You can determine what range you want the double click to work on.
    This example will only work in a specified range....
    Please Login or Register  to view this content.

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Bring up userform when doubleclicking on activated cell, then populate array from inpu

    see attached - double click on sheet

    you will have to adapt to paste entered data variables to target cell
    Attached Files Attached Files

+ 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] Insert date and intials when doubleclicking cell
    By jaco3616 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2017, 08:07 AM
  2. [SOLVED] Storing userform textbox inputs as currency in an array
    By CaptainK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2014, 10:13 AM
  3. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  4. [SOLVED] Userform not displaying when VBA macro is activated
    By Excel987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2013, 01:03 AM
  5. Open Cell Link(Bring to Front) with CommandButton on Userform
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2011, 10:45 AM
  6. Disable user access to master sheet through doubleclicking locked linked cell
    By yjbrody in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2010, 02:36 PM
  7. [SOLVED] getting activated userform name
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2006, 09:00 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