Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Copy Data From One Spreadsheet to AnotherContent of Copy Data From One Spreadsheet to Another.vbsMD5 Hash: 5A6EB33A3E80FA113CC28405823B4707 |
||
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Open("c:\Scripts\Test.xls") Set objWorksheet = objWorkbook.Worksheets("Sheet1") Set objRange = objWorksheet.Range("A1:A20") objRange.Copy Set objExcel2 = CreateObject("Excel.Application") objExcel2.Visible = True Set objWorkbook2 = objExcel2.Workbooks.Add Set objWorksheet2 = objWorkbook2.Worksheets("Sheet1") objWorksheet2.Paste | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |