Hello Again,
Is it possible to manipulate the connection string either through functions of VBA code, in order to be Dynamic rather than static ?
In other words, here is the connection string I currently have
Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Initial Catalog=DBName;Data Source=.;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=LocalPC;Use Encryption for Data=False;Tag with column collation when possible=False
The only parameter that I want to pass is the "Initial Catalog". It should retrieve data from a predefined drop down list within the same excel file.
Looking forward to hearing from you,
Is it possible to manipulate the connection string either through functions of VBA code, in order to be Dynamic rather than static ?
In other words, here is the connection string I currently have
Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Initial Catalog=DBName;Data Source=.;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=LocalPC;Use Encryption for Data=False;Tag with column collation when possible=False
The only parameter that I want to pass is the "Initial Catalog". It should retrieve data from a predefined drop down list within the same excel file.
Looking forward to hearing from you,