More Inline... Greg Chapman http://www.mousetrax.com "Counting in binary is as easy as 01, 10, 11! With thinking this clear, is coding really a good idea?" > > You must be glued to that computer the answer came back so quickly!! I was breathing for a minute. > error to specific problems... could still mean a lot of > duplicatwe code > though maybe. Yep, but centralized VB error handling isn't that handy. Looks neat, isn't terribly useful. Consider that you need to know exactly what routine was executing at the time of the error in order to make a decision which allows you to handle an exception when you centralize it. Essentially, you only turn on error handling when you really need it. One of the best programmers I've ever known always makes that conscious decision about possible exceptions and then handles errors inline. > I don't know if this is useful but the code attached to the > event as I've > set it up checks all incoming email. > Given that, perhaps it's possible to check for > >NewItem.Attachments.Count = > 0< or attachements and code the action in the same procedure Not a bad idea! > ( I hate the > word "macro" ). Yes, the way we use it on computers makes a joke of its real meaning. > >actually defeats some of your error handling > ???? Option Explicit has some interesting overlaps with other parts of the language processor. There are times when the effort to force yourself to live by the rule actually interferes with your ability to field errors. Having a little trouble remembering the circumstances but there it is. > > >you'll rarely find an experienced VBScripter who will use > Error Handling > AND Option Explicit > Greg, I'm the only one I know and I'm not all that > experienced. It seems > very vain though to deliberately leave something out that > *may* help... That's the root of my comment. It's like the most dangerous person in the world is the one who does things only because of goo intentions.<g> I'm not criticizing the choice to use Option Explicit. I'm suggesting that what it does and accomplishes is not exactly what we're taught and that its use should be tempered by the knowledge of what it does to your code execution. Personally, I find it incredible that those two words are necessary since any type declaration is not enforced by these keywords and that a typo in a variable name goes undiscovered before the code ships!<g> Greg ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************