i tried it and i still get the error. do you think that when the visiodocument is opened that i should activate it some how. like put in

Code:
ActiveWindow.Enabled
'or 
ActiveWindow.Activate 'is that even one?