Is it possible to write a procedure in Excel to change the OLE DB query based on a value entered?
For example, if it's April 05 the Data Source in the following script changes from Mar05 to Apr05. There are more than one Company with each one on a separate sheet.
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Mar05\Company01.xls
Thanks
For example, if it's April 05 the Data Source in the following script changes from Mar05 to Apr05. There are more than one Company with each one on a separate sheet.
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Mar05\Company01.xls
Thanks