+ Reply to Thread
Results 1 to 3 of 3

interupt code for user input

  1. #1
    Valued Forum Contributor
    Join Date
    11-16-2004
    Location
    Devon UK
    MS-Off Ver
    2010
    Posts
    357

    interupt code for user input

    Can you suggest a way to interupt my code whilst the user selects a row. ie. if I wanted to move the contents of one row to another I would want to say:
    "select source row" (and want the user to click on any cell in that row) I could then put the rownumber in a variable with
    Please Login or Register  to view this content.
    then "Select destination row" (same, wait for the user to select a cell in the row) then either continue with code or click OK to continue. I have tried a messagebox but this wont allow me to select a row without first clicking OK
    Last edited by tryer; 11-02-2008 at 07:55 AM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Links should help

    http://spreadsheetpage.com/index.php...elected_range/

    http://www.ozgrid.com/VBA/inputbox.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Valued Forum Contributor
    Join Date
    11-16-2004
    Location
    Devon UK
    MS-Off Ver
    2010
    Posts
    357
    Thanks, I think I can adapt either of those to do the job

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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