![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have task to automate for loading Excel files. In this excel file every time i get with diffrent name as well within excel every time different worksheet name. Good thing is format is static but I need to find out way to rename to common name for excel file and common name for worksheet. So i can import data into SQL server using DTS. Goal : rename excel file, rename worksheet. Any idea ? Thanks Kris |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Use Active script to rename you files. Here is an example for text file, use the same idea for excel files. http://www.sqldts.com/default.aspx?200 Rgds JFB "Kris" <Kris (AT) discussions (DOT) microsoft.com> wrote in message news:719B839B-5D4B-478E-B4CF-FBE2F0470E80 (AT) microsoft (DOT) com... Hi, I have task to automate for loading Excel files. In this excel file every time i get with diffrent name as well within excel every time different worksheet name. Good thing is format is static but I need to find out way to rename to common name for excel file and common name for worksheet. So i can import data into SQL server using DTS. Goal : rename excel file, rename worksheet. Any idea ? Thanks Kris |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Can you please provide information how you rename file in Excel from DTS? Do you know how to remove all records from existing Excel file that new records from data transformation service would not append to existing? Thanks, Ilin -- Message posted via http://www.sqlmonster.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |