How to

A

AS

Hi

I want to connect to SQL 2005 Contract Master table (CONTRACTMST) and Update
table using following Excel worksheet. I am new to VBA how to connect SQL and
update the table in SQL2005. Sample code will be highly appreciated regarding
the connection and update statement. Also How to copy all the rows to new
worksheet by city in the existing city.


contractid City Updatename

LCR0091 London Contract 1 new Name
LDW0091 London Contract 2 New Name
HMR0023 Hampshire Contract 3 New Name
HDE0029 Hampshire Contract 4 New Name

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top