Is it just

[vba]

Open FilePath & ("AB(" & i + 1 & ").htm") For Output As #vFF
[/vba]