WillR
Well-known Member
- Joined
- Feb 18, 2002
- Messages
- 1,143
Is there a way of saving a query with an excel file so that it is truly portable....
I want a user to be able to hit a macro button in a worksheet that will refresh a query based on some patrameters they have entered in the worksheet - but as the users could be anyone in the company, i'd like the query to move 'with' the file....
query written to a sql database - so
1. can i do this or
2. can i do it via vba and save with the workbook....
Quite happy to paste the sql code here if necessary if option 2 is the only option.
cheers,
I want a user to be able to hit a macro button in a worksheet that will refresh a query based on some patrameters they have entered in the worksheet - but as the users could be anyone in the company, i'd like the query to move 'with' the file....
query written to a sql database - so
1. can i do this or
2. can i do it via vba and save with the workbook....
Quite happy to paste the sql code here if necessary if option 2 is the only option.
cheers,