JakariKryze
New Member
- Joined
- Dec 14, 2021
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
I have a master list worksheet called "BlackBoard" that this information comes from. All rows in column A with the 12.01.21 dates need to be copied to the worksheet "12.01.21". This needs to be done for each day of the month so 31 worksheets. I am new to this and i am stuck trying to Frankenstein this together from a bunch of other answers, can anyone help please?
Here is where i am at so far..
Sub example()
Dim wkSht As Worksheet
Dim c As Range
For Each c In Sheets("BlackBoard").Range("A2:A800")
If c.Value = wkSht.Name Then
'this is where i am stuck i don't know how to get it to paste to an unidentified worksheet based on what is found in column A which the worksheets are named after
End If
Next Cell
End Sub
Here is where i am at so far..
Sub example()
Dim wkSht As Worksheet
Dim c As Range
For Each c In Sheets("BlackBoard").Range("A2:A800")
If c.Value = wkSht.Name Then
'this is where i am stuck i don't know how to get it to paste to an unidentified worksheet based on what is found in column A which the worksheets are named after
End If
Next Cell
End Sub
VBA Code:
Retail Tran Date | Product Department Name | Sum of Product Net Sales Amt | Sum of Product Tax Amount |
12.01.21 | Gift Boxes - No Tax | $50.00 | $0.00 |
12.01.21 | Misc - No Tax | $248.65 | $0.00 |
12.01.21 | Misc - Tax | $272.35 | $19.84 |
12.01.21 | Mixes | $28.80 | $1.40 |
12.01.21 | Swag - Tax | $23.85 | $0.00 |
12.01.21 | Thistle & Rose - Ta | $29.75 | $0.88 |
12.02.21 | Drinks - Tax | $11.70 | $0.90 |
12.02.21 | Gift Boxes - No Tax | $38.85 | $0.00 |
12.02.21 | Misc - No Tax | $150.00 | $0.00 |
12.02.21 | Misc - Tax | $2,886.36 | $202.06 |