>>350
Dim savefilename As String
savefilename = CreateObject("Scripting.FileSystemObject").GetBaseName(ThisWorkbook.Name) & ".html"