DavidW2022
New Member
- Joined
- Dec 10, 2021
- Messages
- 1
- Office Version
- 365
- Platform
- MacOS
I am looking for a command that can add a new sheet within Excel. Which I have:
Sheets.Add(After:=Sheets("Combined")).Name = "Metrics"
But after this I am wanting to add text shown below automatically. Column A is just names and column B is counting occurances on the first sheet "=COUNTIF(Combined!$F:$F,"*"&A1&"*")"
Is there a way I can automate this all into one command line?
Sheets.Add(After:=Sheets("Combined")).Name = "Metrics"
But after this I am wanting to add text shown below automatically. Column A is just names and column B is counting occurances on the first sheet "=COUNTIF(Combined!$F:$F,"*"&A1&"*")"
Mitzi | 0 |
DAN | 4 |
TW | 1 |
AA | 11 |
Comps | 1 |
Holds | 0 |
kh | 1 |
DW | 0 |
RL | 1 |
SPH | 0 |
TimJ | 0 |
LP | 6 |
TH | 0 |
Total | 25 |
Is there a way I can automate this all into one command line?