Sub MoveToFolder(folderName)
....other code....
Set olDestFolder = olNameSpace.Folders(mailboxNameString).Folders("Inbox").Folders(folderName)
This is driven by the following sub routine:
Sub BMRT()
MoveToFolder ("BMRT")
End Sub
I was able to recreate the error on my box by adding a space to the folder name in one of my sub routines. But we checked his folder name and there is no spaces or other mismatch we can find.
I'm thinking it has GOT to be either in the naming of the mailboxNameString or the contents of the parentheses after the .folder(here). I can check the mailboxNameString, "Inbox", and folderName, for an exact match and they all seem to be correct. Any suggestions for where else we might look to find this?
TIA
ed
Recent Comments