ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Writing a named range to SQL Server 2000 table (https://www.excelbanter.com/excel-programming/421833-writing-named-range-sql-server-2000-table.html)

Plateriot

Writing a named range to SQL Server 2000 table
 
I have a named range called BPEntry that I would like to write to SQL Server
2000 on the click of a button..

The range has the fields EntryDate, SBP, DBP, HR
The table in SQL 2000 has the same fields and a couple of extra ones that I
would like to adjust the insert using VBA with my own SQL String. After it
writes it to SQL Server as set of values with a Serial number, I will clear
the named range "BPEntry" so that the user can enter more values - which I
will add a set to.

I find a lot of articles using named ranges, so I was wondering if this is
possible.
I'm writing an app in Excel, because the user prefers to enter using a
spreadsheet.


All times are GMT +1. The time now is 07:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com