shahp
August 27th, 2001, 03:48 PM
Hi,
I need to write a VB program to read Excel spreadsheet and transfer the info from the first tab of the spreadsheet to a Sybase table. The name of the first tab can be anything like 'Sheet1', or 'XYZ' or any thing ...different every time you run the program. On that sheet I need to find the word "ISSUER". Once the word is found I have to define the range from that word to currentregion and transfer the whole list into sybase table. What is the best way to do this.
I am thinking to define ADO on the Excel sheet but how do I find the sheet name. Should define Excel as a object. If any body has ever done something like this than please help.
I need to write a VB program to read Excel spreadsheet and transfer the info from the first tab of the spreadsheet to a Sybase table. The name of the first tab can be anything like 'Sheet1', or 'XYZ' or any thing ...different every time you run the program. On that sheet I need to find the word "ISSUER". Once the word is found I have to define the range from that word to currentregion and transfer the whole list into sybase table. What is the best way to do this.
I am thinking to define ADO on the Excel sheet but how do I find the sheet name. Should define Excel as a object. If any body has ever done something like this than please help.