transferring daily numbers to a master sheet

John7385

New Member
Joined
Nov 11, 2014
Messages
8
Hi There,

I am looking for a way to transfer my daily work schedules to a monthly worksheet.

Basically a daily sheet would look something like below but there would be around 100 entries per sheet and 8 sheets (1 for each member of staff):

Call Scheme Type Client PolicyNumber Dialled Outcome sales Comments Leads P-Care K-Care
Outbound Home Lead 390757 Yes Taken Up 1 renewed
Outbound Home Lead 413179 Yes No answer
Outbound Home Lead 282296 Yes
Outbound Home Lead 280407 No
Outbound Home Lead 52474 No
Outbound Equipment Renewal 412146 DN0150045 Yes
Outbound Equipment Renewal 314803 DG112446
Outbound Equipment Renewal 412723 MSI0150292
Outbound Full Cover Renewal 373342 FC0119690
Outbound Equipment Renewal 179238 MSI0135508

All I would like to be able to do is have each entry copy over to a master sheet so at the end of the month I would have all the entries in one place. To achieve this at the moment I am having to copy and paste all 8 sheets to a master sheet each day!

Any help would be greatly appreciated

John
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi, sorry no column A would be:

(Heading) CALL

Outbound
Outbound
Outbound

Column B :

(Heading) SCHEME

HOME
HOME
Equipment

Etc

Cheers





I have made an attempt using the following VB Code:

Can anybody advise where I am going wrong?

Folder where sheets all sheets are held:

C:\Users\traynorj\Desktop\masterfolder

Sheet Names:
Master
TestDay1
TestDay2



This is the code I have used:



Sub LoopThroughDirectory()
Dim MyFile As String
Dim erow
MyFile = Dir("C:\Users\traynorj\Desktop\masterfolder\")

Do While Len(MyFile) > 0
If MyFile = "Master.xlsx" Then
Exit Sub
End If

Workbooks.Open (MyFile)
Range("A1:O200").Copy
ActiveWorkbook.Close

ero = Sheet1.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
ActiveSheet.Paste Destination:=Worksheets("sheet1").Range(Cells(erow, 1), Cells(erow, 200))

MyFile = Dir

Loop



End Sub
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top