Hi Everybody,
I have written a macro which pulls data from a database in to an Excel sheet and then performs certain actions on it. The SQL query that I have used to pull the data uses date parameters. I have to edit the date parameters in the macro every time I run the query. Can someone please advise, how can I tweak the macro to prompt for date input, every time it is run?
The SQL script in the macro is as below. I have colored the parts red, where the date input is required.
I would highly appreciate if you someone can help !!!!
Thanks... Murtaza
Bookmarks