+ Reply to Thread
Results 1 to 3 of 3

Create input boxes

  1. #1
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852

    Create input boxes

    Hi there,

    I´m new to VBA so any help is more than welcome.

    I want to create a macro to prompt 3 input boxes. First I would like it to ask the "Inicial date", where I would input in format dd-mm-yyyy, then ask for "end date" where I would insert in the same format and finally ask me the number of employes, here I would insert a number (lets say 25 for demo).

    I would like the macro to paste, in the next available cell in ColumnA the "Inicial date" selected, the same for "End date" in column B, and in this case for 25 rows.

    Any pointers?
    Thanks in advance
    Last edited by Portuga; 02-29-2008 at 09:31 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
    You could use a UserForm instead, more professional IMO. see the databasefrom here

    http://www.excel-it.com/vba_examples.htm
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Quote Originally Posted by royUK
    You could use a UserForm instead, more professional IMO. see the databasefrom here

    http://www.excel-it.com/vba_examples.htm
    Thanks Roy. I´ll do some investigation on userForms.

+ 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