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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extra trying to Save As

Status
Not open for further replies.

Pimafix

Technical User
Sep 6, 2006
14
US
Why does this trigger extra to try and do a Save As?

Test3 = Sess0.Screen.GetString(7, 32, 1)
Test4 = Sess0.Screen.GetString(8, 32, 1)

If Test3 <> Stuff Then GoTo Skippy

If Test3 Like Stuff Then
Call Missed
Sess0.Screen.SendKeys ("<Pf3>")
GoTo Y
End If
 
Ironically I have a different spot doing the Save As now. The one above is cleared but the other spot is at

Sess0.PrintDisplay

I cut it out, moved it to a different line, saved the macro, put it back where it is supposed to be and saved again and it seems to work now IF I am not in Excel. If I am in Excel because of normal window size the debug box pops up continually, but if Extra holds the focus then there is no warning.

Not what I wanted to fix the problem but it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top