Forum Replies Created

Viewing 11 posts - 16 through 26 (of 26 total)

  • RE: Prompt for Date Range?

    Alvin Ramard (6/12/2015)


    Take a look at the link below. It should provide most of the information you need to do this from Excel.

    http://realworldsql.com/2012/06/07/stored-procedures-with-parameters-in-excel/

    Thanks for the link!

    However, when I follow...

  • RE: Prompt for Date Range?

    Luis Cazares (6/12/2015)


    Or you could use SSRS to create a nice report with parameters that can be exported to Excel, Word, PDF & others.

    The Stairway to Reporting Services will guide...

  • RE: Prompt for Date Range?

    Sean Lange (6/12/2015)


    Are you familiar with VBA?

    Just enough to be dangerous, because I don't use it, everyday. 🙂

  • RE: Prompt for Date Range?

    Sean Lange (6/12/2015)


    Why do you think you can't access a stored procedure from Excel?

    Because when I connect to my SQL database through excel, I only see tables and views.

  • RE: Prompt for Date Range?

    Lynn Pettis (6/12/2015)


    Are the dates user selectable or are they determined by when the query is run?

    user selectable

  • RE: Prompt for Date Range?

    I appreciate the helpful replies.

    Stored procedures aren't much help, because I can't directly access them through Excel (only tables and views).

    So, I would still have to take the results of...

  • RE: Prompt for Date Range?

    Sean Lange (6/12/2015)


    No you don't. Create a view in sql server and have excel select from your view and add a where clause with whatever dates you want at run...

  • RE: Prompt for Date Range?

    I think I'm just going to have to resign myself to the fact that I'm going to have to "manually" change the dates, every time, then copy/paste/format the data into...

  • RE: Prompt for Date Range?

    Sean Lange (6/12/2015)


    tsobiech (6/12/2015)

    Put some parameters in your Excel document. You could even build logic into the VBA if you want.

    I tried copying the SQL from server manager to Excel,...

  • RE: Prompt for Date Range?

    I need to run this report quarterly, thus it would be so much easier if I could just use something like Excel to "query" this data and return only a...

  • RE: Prompt for Date Range?

    I'm confused, the function executes, but it doesn't prompt me for dates.

    It just uses the dates provided in the "call" portion.

    Things would be so much easier if I could just...

Viewing 11 posts - 16 through 26 (of 26 total)