'Heuristic for determine Frontpage 2002 Hwnd handle 'It did not tested for others versions of FP, ' but I think can be easy adapted for them. Public Function GetFrontpage2002Hwnd() As Long Dim hwnd As Long Dim ls_caption As String GetFrontpage2002Hwnd = 0