+ Reply to Thread
Results 1 to 2 of 2

How to ask user to input value into a cell, then use in VBA code

Hybrid View

  1. #1
    Registered User
    Join Date
    09-28-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    3

    How to ask user to input value into a cell, then use in VBA code

    Hello,

    I would like to setup a worksheet that is linked to existing VBA code. What I want to do is to for a given cell, when the user moves the cursor over the cell a prompt appears. This would say something like "enter value", or a yes/no selection. Based on the input, the VBA code could then run with that user input. Is there an easy way to integrate this?

  2. #2
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: How to ask user to input value into a cell, then use in VBA code

    A similar thread came up not long ago about running a script based on mouse movement:
    http://www.excelforum.com/excel-prog...-activity.html

    It seems quite complex though. Have you considered an input box in your macro? The user could start the macro and then be prompted to fill in a value for the cell which could then be used as a value in your code.

+ 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. User input variables Code not working
    By LeapingLizard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2012, 10:58 PM
  2. Update vba code through user input.
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-02-2011, 02:16 AM
  3. Code that adds row, based on user input?
    By The Boosh! in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2011, 11:15 AM
  4. interupt code for user input
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2008, 07:55 AM
  5. Have user input converted to uppercase in same cell as input?
    By Shannonn in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-19-2006, 10:25 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