Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a template that allows a user to input information into a worksheet
and copy to a new workbook. How would i go about coding opening the new workbook and returning the information back into the template because the person might want to edit it? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Dim bk as Workbook set bk = Workbooks.Open("C:\MyFolder\Myfile.xls") thisworkbook.Worksheets("Data").Range("A1:A10").co py _ Destination:=bk.Worksheets(1).Range("B9") in another procedure to be run after the edit workbooks("Myfile.xls").worksheets(1).Range("b9"). Resize(1,10).copy Destination:=Workbooks("MyTemplate.xls").Worksheet s("Data").Range("A1") -- Regards, Tom Ogilvy "enyaw" wrote: I have a template that allows a user to input information into a worksheet and copy to a new workbook. How would i go about coding opening the new workbook and returning the information back into the template because the person might want to edit it? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
show most recent files first when opening excel files | Excel Discussion (Misc queries) | |||
Several files opening at once | New Users to Excel | |||
Opening Quattro Pro for Windows files (*.WB1 Files) using Excel 20 | Excel Discussion (Misc queries) | |||
How can I view files chronologically when opening multiple files | Excel Discussion (Misc queries) | |||
Opening files | Excel Programming |