Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy sheet again again
I have read some off whar has been writing here in this forum
and find theis code from http://www.rondebruin.nl/ado.htm the code I use is Sub GetData_Example1() 'This Copy the range to the ActiveCell GetData ThisWorkbook.Path & "\test.xls", "Sheet1", "A1:C5", ActiveCell, False 'This Copy the range to the Sheet/Range you want 'GetData ThisWorkbook.Path & "\test.xls", "Sheet1", "A1:C5", Sheets("Sheet2").Range("A1"), False End Sub but get an error its stop with Getdata and the error is: compile error Sub or function not defined. Can some one help Alvin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy rows from one Data sheet to another sheet based on cell conte | Excel Discussion (Misc queries) | |||
Copy Sheet to new Sheet and clear cells on original sheets | Excel Discussion (Misc queries) | |||
Auto Copy/autofill Text from sheet to sheet if meets criteria | Excel Discussion (Misc queries) | |||
Search for rows in one sheet and copy into another sheet based on customer id | Excel Worksheet Functions | |||
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. | Excel Discussion (Misc queries) |