+ Reply to Thread
Results 1 to 3 of 3

popup window

  1. #1
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    popup window

    Hello,
    I've seen this before and can't figure a way to do it.

    when opening Excel, a popup window appears with a question. you can then enter a value to answer the question in the popup window. then you can press enter, another window will popup with another question etc. the values you've entered will be inserted to the excel body appropriately. for example,

    popup window with question: "What is your name?" your answer "John Doe"
    popup window with question: "What is DOB?" your answer "1/1/2009"

    the two values will be inserted as below:


    this is John Doe. My DOB is 1/1/2009.


    Is there a way to achieve this? Thank you in advance.
    Last edited by drawing.blanks; 07-01-2009 at 02:09 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: popup window

    You can use InputBoxes or create a UserForm
    Please Login or Register  to view this content.
    Copy the code
    Select the workbook in which you want to store the code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    In the Project Explorer, find your workbook, and open the list of Microsoft Excel Objects
    Right-click on the ThisWorkbook object, and choose View Code
    Where the cursor is flashing, choose Edit | Paste
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: popup window

    it works! thanks.

+ 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