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

ERROR: Object value is set to nothing

Status
Not open for further replies.

georgiy

Programmer
Jun 9, 2003
14
US
thread1-1510304

Hello,

I am having the same problem that HDTech (TechnicalUser) had a few years ago.
I developed a few pretty similar macros and if I start my day with one of them it always stops showing the following error:

Object value is set to nothing
Line number XXX [it is usually something like Sess0.Screen.Sendkeys(…) in a Sub]
Stopping macro playback

The problem disappears if I start my day with another macro that always runs smoothly. After that the first macro starts running and I can use it all day through but it stops running the next day and I have to repeat the process again. This is especially strange because I never switch the PC off!

Any ideas?
Please help!
 


Does your procedure SET the System and/or the Session and/or the Screen object?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 

I did not ask If or Where there are declared.

I asked, if they are SET: ie. in a SET statement.

faq99-4069


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Skip,
You are right.
One SET was lost...
Thanks a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top