Textboxes to sql server table

morries

New Member
Joined
Oct 29, 2013
Messages
1
Hi MrExcel,

I need your help to resolve a issue regarding just how to update and insert a excel record with 9 cell values to a sql server table in a sql database.

Excel Userform popup where by you can enter the records values from 10 textboxes to excel. This work fine but the part when the vba marco need to update or insert the excel row captured in excel to only add that record also to a sql table updating the record if existing in excel or inserting to sql is failing.

Please can anyone help me as ive been busy with this for a long time and dont know much of vba program. All i have found is whats availible on the internet.

Can anyone please help me as am at my last rope and need this resolved as this is taking a lot of time and hours

Please help me resolve the coding in vba.

Any help will be appreciated.

Thanks
Morries
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top