A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Attachment issues...



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 14th 07, 07:54 AM posted to microsoft.public.outlook.program_forms
prt75 via OfficeKB.com
external usenet poster
 
Posts: 1
Default Attachment issues...

Does anyone out there know a good VBA reference for automatically adding
attachments to custom forms? All I want to do is write a script that will
grab a file (whose name constantly changes with the date) from a folder
(whose name also changes with the date) - so that a user can just open the
form, see that the correct attachments are there, and click "send".

I have to send these attachments daily and its a real pain. All I know is
that I need a message field for the code to work. Anybody?

--
Message posted via http://www.officekb.com

Ads
  #2  
Old May 14th 07, 08:26 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Attachment issues...

In article 7226ee2160317@uwe, Prt75 via OfficeKB.com wrote:
I have to send these attachments daily and its a real pain. All I know is
that I need a message field for the code to work. Anybody?

Actually, you are really wanting to use something called an Action Item.
This is data item that sits in one of your folders, you open it, it runs
the code behind the form to do the function you want, and then you close it
when you are done. I prefer to use a Contact item, and yes, it does have a
Notes field, so it can run code. For an example of one such action item,
you can see the following example posted on my blog:

Automating Tip Capture with Office Systems 2003 – Part 1
http://msmvps.com/blogs/obts/archive.../19/71691.aspx - 78 KB

Automating Tip Capture with Office Systems 2003 - Part 2
All you ever wanted to know about the code. The first section in the code
gives credit where credit is due. The SharePoin...
http://msmvps.com/blogs/obts/archive.../19/71693.aspx - 139 KB

Part 1 discusses what I am trying to do - which includes creating a new
message and attaching a file to it and then sending it. Part 2 gives you
all the code I use and describes, in detail, what the code does.
--
Hollis Paul
Mukilteo, WA USA


  #3  
Old May 15th 07, 12:55 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Attachment issues...

I'm confused: You asked about a VBA *and* custom forms. The code behind a custom form is VBScript, not VBA.

But more important is -- to whom are you sending these messages that you create from a custom form? Is it only to people inside your organization? If not, then you may need to rethink this scenario.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"prt75 via OfficeKB.com" u34098@uwe wrote in message news:7226ee2160317@uwe...
Does anyone out there know a good VBA reference for automatically adding
attachments to custom forms? All I want to do is write a script that will
grab a file (whose name constantly changes with the date) from a folder
(whose name also changes with the date) - so that a user can just open the
form, see that the correct attachments are there, and click "send".

I have to send these attachments daily and its a real pain. All I know is
that I need a message field for the code to work. Anybody?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rich text and attachment issues in Outlook 2003 feigenluis Outlook - General Queries 1 January 16th 07 07:34 PM
OE issues [email protected] Outlook Express 4 November 12th 06 05:10 AM
Can I replace the attachment file when double chick attachment? [email protected] Outlook - General Queries 3 August 3rd 06 04:10 PM
OE issues Clifford Hines Outlook Express 1 June 19th 06 03:24 AM
To: field issues! Seawolf Outlook - Using Contacts 3 June 5th 06 04:21 PM


All times are GMT +1. The time now is 06:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.