I want to add a new sheet in a Macro Enabled Excel File using VBA.
It doesn\'t matter the method that I use:
Try this code in your xlsm file:
Dim ws As Worksheet Set ws = Sheets.Add(After:=Sheets(Sheets.Count))
And let me know if this doesn't work.