sambrierley
Registered User.
- Local time
- Today, 14:58
- Joined
- Apr 24, 2014
- Messages
- 56
Hi all,
me and a colleague have access to the same email folder but for some strange reason its named differently on our machines.
how can i set a check to see if one exists, if that doesnt exists try another, anything i try results in an error.
this is what ive triedm thanks all
me and a colleague have access to the same email folder but for some strange reason its named differently on our machines.
how can i set a check to see if one exists, if that doesnt exists try another, anything i try results in an error.
this is what ive triedm thanks all
Code:
If IsError(myNameSpace.Folders("timesheet.test@imtech.uk.com")) = True Then
Set myFolder = myNameSpace.Folders("Timesheet Test")
Else
Set myFolder = myNameSpace.Folders("timesheet.test@imtech.uk.com")
End If