Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Can you tell me what line doesn't seem to be working? Is there an error you face? Oh... I now see the error. I think I didn't write this line of code rngCopy.Copy Just re-copy the code and try running it. Sub CopyDataRange() Dim rngCopy as Range Dim wbDest as Workbook set rngCopy = Range("Data") set wbDest = Workbooks.Open(Range("location") rngCopy.Copy 'Assuming Data on Database Sheet starts from Column A wbDest.Sheets("Database").Range("A65536").offset(1 ,0).PasteSpecial xlPasteAll Application.CutCopyMode = False wbDest.Save msgbox "Completed" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
office 07: auto powerpoint charts using named range data in excel | Charts and Charting in Excel | |||
Named Range DTS Import of Excel Data | Excel Discussion (Misc queries) | |||
Outlook wants an Excel named range to import contact data why? | Excel Discussion (Misc queries) | |||
New Named Range Created Each Time Data Imported into Excel via Macro | Excel Programming | |||
Append new row of data to range | Excel Programming |