[mso] Re: Rules don't rule

  • From: "Greg Chapman" <greg@xxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Sun, 5 Oct 2003 21:53:12 -0500

Option Explicit doesn't require that the data type be declared. It only
requires the variable to be declared. If you must have a type for your
sense of neatness (many people do!) you can declare it as an Object at the
very least. I have no idea how Outlook likes to think of its folder
collection but there's a chance that oFolder is of type Outlook.Folder .

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?"


> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx
> [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Green
> Sent: Sunday, October 05, 2003 4:48 PM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Re: Rules don't rule
>
>
> Hi Linda,
>
>
> LOL... I addmit to not not reading the footers very often... sorry.
>
> I'm actually stuck at the moment because the code I want to
> use does not use
> "option explicit" and I'm not happy about not using it really.
>
> The line that the code has a bit of trouble with is...
>
>     Set oFolder = GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)
>
> Can anyone please tell me what I can possibly define oFolder
> as please?
>
> When I get this right I'll try and upload it maybe.
>
> Regards
> Lisa
>
>
>
>
> *************************************************************
> 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
> *************************************************************
>
> ----------------------------------------------------
> This message has been processed by Firetrust Benign.
>

*************************************************************
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
*************************************************************

Other related posts: