+ Reply to Thread
Results 1 to 4 of 4

Input Date Parameters

Hybrid View

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    Canada
    MS-Off Ver
    Microsoft Excel: Mac 2011 & Microsoft Excel 2010
    Posts
    13

    Re: Input Date Parameters

    Hi mc84excel,
    Thanks a lot for your response. I am a novice when it comes to VBA, can you please elaborate, how can I ask the user for the date in the early part of the sub and how would I set the reply to a variable?

    Highly appreciate your help.
    Thanks... Murtaza

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: Input Date Parameters

    By using an InputBox (which you would need to validate the users input to prevent them entering non-dates) or by using a Date Picker as I said.

    I never use an InputBox for dates so I can't help you with that, I always use a Date Picker. Demo attached FYI. However the DatePicker method is far more advanced for a novice.

    Maybe someone else can explain to you how to get a date using an InputBox.
    Attached Files Attached Files
    *******************************************************

    HELP WANTED! (Links to Forum threads)
    Trying to create reusable code for Custom Events at Workbook (not Application) level

    *******************************************************

+ 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. Automation of Macro input parameters
    By cda123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2011, 01:50 PM
  2. Dynamic Web Query with multiple input parameters
    By Lukasz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2010, 12:12 AM
  3. Replies: 2
    Last Post: 03-08-2010, 11:25 AM
  4. Input parameters to an excel Application
    By eitancoh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2007, 06:35 PM
  5. [SOLVED] XIRR function input parameters
    By kieran sweeney in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-29-2005, 07:06 AM

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