You asked that already and I answered in post #3. That's the code for that, replace the Worksheets.Add from this macro with the construct from post #3 and edit it for your needs.
By the way, the formula I gave you in that same post only displays the proper answer AFTER you save the workbook at least once.
Bookmarks