johnisotank
Technical User
Hi,
hoping someone could help me connect to my database.
At the moment I have a spreadsheet that connects fine (I have the connection in my ODBC data sources). Problem is that the spreadsheet will be used by many different people and that will involve adding the connection into their ODBC data sources. I would really like to avoid this because it will mean I need to go round everyones PC and add it and if I was to change the SQL password, I'd have to do it all again.
I was hoping someone could tell me how to connect to the database using VB so I only need edit that code instead of everyones data sources..
I am using Excel 2003 and SQL Server 2005 Express.
Thanks
John
hoping someone could help me connect to my database.
At the moment I have a spreadsheet that connects fine (I have the connection in my ODBC data sources). Problem is that the spreadsheet will be used by many different people and that will involve adding the connection into their ODBC data sources. I would really like to avoid this because it will mean I need to go round everyones PC and add it and if I was to change the SQL password, I'd have to do it all again.
I was hoping someone could tell me how to connect to the database using VB so I only need edit that code instead of everyones data sources..
I am using Excel 2003 and SQL Server 2005 Express.
Thanks
John