Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please I am very new to Macro. Please Help me on this one. I will really
appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Yossy
Start here http://www.rondebruin.nl/copy3.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Yossy" wrote in message ... Please I am very new to Macro. Please Help me on this one. I will really appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry Ron. I found a useful explanation in your link. Thanks a big bunch
"Ron de Bruin" wrote: Hi Yossy Start here http://www.rondebruin.nl/copy3.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Yossy" wrote in message ... Please I am very new to Macro. Please Help me on this one. I will really appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
please where do I copy the code in. i opened the vb and to be honest I have
no clue what to do. Please help and also after copying the code in what do i do next. am sorry for silly question but please help me. Thanks "Yossy" wrote: Please I am very new to Macro. Please Help me on this one. I will really appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yossy,
A good place to start would be he http://www.mvps.org/dmcritchie/excel/getstarted.htm John "Yossy" wrote in message ... please where do I copy the code in. i opened the vb and to be honest I have no clue what to do. Please help and also after copying the code in what do i do next. am sorry for silly question but please help me. Thanks "Yossy" wrote: Please I am very new to Macro. Please Help me on this one. I will really appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See also
http://www.rondebruin.nl/code.htm You find the link to David's page also on that page -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "John Wilson" wrote in message ... Yossy, A good place to start would be he http://www.mvps.org/dmcritchie/excel/getstarted.htm John "Yossy" wrote in message ... please where do I copy the code in. i opened the vb and to be honest I have no clue what to do. Please help and also after copying the code in what do i do next. am sorry for silly question but please help me. Thanks "Yossy" wrote: Please I am very new to Macro. Please Help me on this one. I will really appreciate it. Will like to copy multiple rows from different workbook into one sheet in a different workbook. Each row has the same headings. How do i go about about to use macro. Again I haven't used it before. Please pardon my ignorance. Thanks for your help |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
please i tried using this code
Sub RDB_Copy_Sheet() Dim myFiles As Variant Dim myCountOfFiles As Long myCountOfFiles = Get_File_Names( _ MyPath:="C:\desktop\sample", _ Subfolders:=False, _ ExtStr:="*.xl*", _ myReturnedFiles:=myFiles) If myCountOfFiles = 0 Then MsgBox "No files that match the ExtStr in this folder" Exit Sub End If Get_Sheet _ PasteAsValues:=True, _ SourceShName:="", _ SourceShIndex:=2, _ myReturnedFiles:=myFiles End Sub and I get this error, sub or function not defined Thanks for your help. |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please read the information on the site
Download the example workbook to test the code -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Yossy" wrote in message ... please i tried using this code Sub RDB_Copy_Sheet() Dim myFiles As Variant Dim myCountOfFiles As Long myCountOfFiles = Get_File_Names( _ MyPath:="C:\desktop\sample", _ Subfolders:=False, _ ExtStr:="*.xl*", _ myReturnedFiles:=myFiles) If myCountOfFiles = 0 Then MsgBox "No files that match the ExtStr in this folder" Exit Sub End If Get_Sheet _ PasteAsValues:=True, _ SourceShName:="", _ SourceShIndex:=2, _ myReturnedFiles:=myFiles End Sub and I get this error, sub or function not defined Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to copy rows from 1 workbook to another workbook | Excel Programming | |||
Copy Sheet from One workbook to another EXISTING workbook | Excel Programming | |||
copy data in one sheet to multiple sheets in same workbook | Excel Worksheet Functions | |||
Copy sheet from one workbook to another workbook problem | Excel Programming |