View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
al al is offline
external usenet poster
 
Posts: 363
Default Using ADO to INSERT Named Range Values into DB

Assuming you already know how to insert values into a sql server table,
you would simply have to refer to the value property of the range name.

In this example, test is a global range name; department is a field within a
sql server table.

..Fields("department") = Range("test").Value