+ Reply to Thread
Results 1 to 4 of 4

VBA to open userforms dependant on cell contents

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    Yorkshire, United Kingdom
    MS-Off Ver
    2010
    Posts
    2

    VBA to open userforms dependant on cell contents

    Hi all
    I'm creating a simple sheet for a touch screen interface, but I'm wanting it to open on of two userforms when a cell in a range is clicked.
    If the cell is empty I want userform 1 to open and if it has something in it I want userform 3 to open.
    Could anyone help me with how to achieve this?

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: VBA to open userforms dependant on cell contents

    I don't know if it works with a touchscreen. Furthermore, the question is very brief.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    Yorkshire, United Kingdom
    MS-Off Ver
    2010
    Posts
    2
    Quote Originally Posted by Vraag en antwoord View Post
    I don't know if it works with a touchscreen. Furthermore, the question is very brief.

    Please Login or Register  to view this content.
    Thanks for your reply. I'm unable to test this solution as the workbook is at work and I'm at home. Apologies for the question being brief, what sort of information would I be expected to put?
    I'm wanting it to only apply to cells B3:U32.
    Thanks again.

  4. #4
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: VBA to open userforms dependant on cell contents

    To limit the range

    Please Login or Register  to view this content.

+ 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. Function dependant on contents of another cell
    By heytherejem in forum Excel General
    Replies: 3
    Last Post: 11-13-2017, 09:45 AM
  2. Change chart source dependant on cell contents
    By jwillis07 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-13-2014, 06:36 AM
  3. Cell Contents dependant on Drop Down List
    By jamiemc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2014, 05:30 AM
  4. Input Text Dependant On Cell Contents - Help Required.
    By heliskier89 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2012, 08:22 AM
  5. Popup box with cell dependant contents
    By lee_shuttleworth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2011, 06:08 AM
  6. Replies: 2
    Last Post: 07-05-2009, 07:38 AM
  7. [SOLVED] tallying a total dependant on contents of another cell
    By Toby in forum Excel General
    Replies: 1
    Last Post: 05-29-2006, 07:00 PM

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