Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript in a dts 1

Status
Not open for further replies.

clyde11

Programmer
Feb 6, 2006
25
GB
Hi all,

I'm writing a DTS activeX with VBscript and
would like to access a data in in an excel sheet
on the first row, while using

DTSDestination("columnA") = DTSSource("columnB")

will assign "columnB" in "columnA" for each row,
how do I do this for specific row source column
(for example assigning "columnB" row 1, into "columnA")

Best,
Ahron
 
Code:
on error resume next
set x = getobject(,"excel.application")
x.cells(1, 1).value = x.cells(1, 2).value

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top