Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error When oWord.Visible = .F.

Status
Not open for further replies.

dotnik

Programmer
Nov 14, 2003
24
IT
Hi,
I've write a simple procedure that open Word document and replace selected text with value.
If the Visible parameter of Windword object is False the procedure return more error for istruction:
oWord.Selection.Movedown(5,1,)
oWord.Selection.Deleted(1,1)
while the same instructions with visible True don't return errors.

I hope that you understand to me.
Who can help me?

Best regards.
dotnik
 
dotnik,

Without more information it is very difficult to help you. What is the error that is being returned? What is the code that is giving you the error? Is it the two lines that you posted? Can you provide more information that could help us help you? Thank you.

boyd.gif

[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top