chipsworld
Board Regular
- Joined
- May 23, 2019
- Messages
- 172
- Office Version
- 365
Happy New year! Had a quick question.
How can I accomplish the below but from a dynamic list instead of putting the names in the code?
How can I accomplish the below but from a dynamic list instead of putting the names in the code?
VBA Code:
arrWBS = Array("JESSICA", "FLEET", "****", "ALAN", "MASTER")
For i = LBound(arrWBS) To UBound(arrWBS)
ThisWorkbook.SaveAs Filename:=pth & "BUY REPORT Ver" & Format(Now(), "yymm") & " v2.4 - " & arrWBS(i) & ".xlsm"
Next i