Link to home
Start Free TrialLog in
Avatar of Jeff S
Jeff SFlag for United States of America

asked on

Microsoft Excel 2007 - "Parameters are not allowed in queries that can't be displayed graphically"

I am trying to pass a Stored Procedure through an Excel worksheet with the following SQL and getting this Error - "Parameters are not allowed in queries that can't be displayed graphically".

My code is this - EXEC cusExcelMTD, ?, ?

I have seen that I need to use VB to alter my Excel spreadsheet, but I have no clue as to how to do this or the coding. The two parameters I want to pass are "StartDate" and "EndDate". Can someone please lend me hand?
ASKER CERTIFIED SOLUTION
Avatar of PatOBrien
PatOBrien

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Bitsqueezer
Bitsqueezer
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeff S

ASKER

Splitting points to be fair. Opening a new question similiar to this and thought I would close out this one and assign points. Thanks to all the donated their time.