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

Missing Reference ( a temp file?)

Status
Not open for further replies.

slwolf8

Technical User
Apr 23, 2001
82
US
I have a document with an embedded button in it with some attached code. For certain users sometimes when they use this documents they get an error when they try to save it and in the VB Editor a missing reference appears. This reference is a .tmp file though....has anyone heard of this? Why is this happening? The required outlook reference still appears to be fine so I'm not sure what it is looking for....
 
Check and make sure the user has sufficient permissions to view the referenced file. Another thing to look for is if the code is creating a file in the Temp directory, or with a .TMP extension. Rewrite it to only reference actual files. Yet one more thing to check is to make sure the user has the referenced file opened, if necessary, before invoking the code.

Dan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top