+ Reply to Thread
Results 1 to 3 of 3

Macro to Prompt User for Date Range when Opening Spreadsheet

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Exclamation Macro to Prompt User for Date Range when Opening Spreadsheet

    I am sure this has already been answered but when I try to search with that exact wording I keep getting an error message.

    So here goes. I have a table linked through Excel to an ODBC database. I want to prompt the user when opening this spreasheet to input a start date and an end date to retrieve only the records within that date range.

    I do not do alot with Macros so please be patient with me. Thanks.

    Michelle

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Macro to Prompt User for Date Range when Opening Spreadsheet

    Maybe something like this:

    Please Login or Register  to view this content.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    06-22-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to Prompt User for Date Range when Opening Spreadsheet

    Thanks Dave! Now how do I get it to only pull the records with an INVDTE within that range?

    Michelle

+ 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