H
Hans Ruopp
Hi All,
I use the following command to manipulate an open document with the
following piece of code which works fine on WD2003 but not in WD2007.
“With Windows(LeftName)
.Activate
.WindowState = wdWindowStateNormal
End Withâ€
Where LeftName is defined as ‘String’ and using the step by step mode I
could check that it contained the full name of the file. (Path + filename).
Every time my macro tries to execute this command I get a Runtime Error
'5941': The requested member of the collection does not exist.
Does anyone have already had this kind of problem? I would really appreciate
any help.
TIA
Hans
I use the following command to manipulate an open document with the
following piece of code which works fine on WD2003 but not in WD2007.
“With Windows(LeftName)
.Activate
.WindowState = wdWindowStateNormal
End Withâ€
Where LeftName is defined as ‘String’ and using the step by step mode I
could check that it contained the full name of the file. (Path + filename).
Every time my macro tries to execute this command I get a Runtime Error
'5941': The requested member of the collection does not exist.
Does anyone have already had this kind of problem? I would really appreciate
any help.
TIA
Hans