Hello my code is supposed to add another worksheet, then save the file and close it. my problem is with the save. It just doesnt save.
I did a
Do while (Not workbook.saved)
Workbook.save
Loop
And it went to a infinite loop -__- The workbook is a CSV file, being accessed via VBA. and returns 2 dialogue boxes which is turned off via
With Application
.DisplayAlerts = False
End With
Any ideas?
ThisWorkbook
instead ofWorkbook
. – ZAT