JvL
09-27-2007, 12:00 AM
Dear all,
I want to past a table in an Active word document. Before pasting I want to check if there is a active word document or not. Something like:
If AppActivate("Microsoft Word") = false then
MsgBox Prompt:="U heeft op dit moment geen Word-document geopend"
Exit Sub
End if
Of coarse I got a failure message, can someone help me with the correct code?
Thx
I want to past a table in an Active word document. Before pasting I want to check if there is a active word document or not. Something like:
If AppActivate("Microsoft Word") = false then
MsgBox Prompt:="U heeft op dit moment geen Word-document geopend"
Exit Sub
End if
Of coarse I got a failure message, can someone help me with the correct code?
Thx