Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 31st, 2008, 12:00 PM
Registered User
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use VBscript to email a Microsoft Publisher

Hi, guys,

I’m having trouble with VBscript and Microsoft publisher file. I'm modifying a MS Access application (there are GUI forms built in). This was created by somebody else and was used by salesmen sending Bulk emails. It retrieves a file (could be word, publisher, etc) from File Browsing form. Then, it retrieves a list of emails from a MS excel sheet. Finally, the word or publisher gets sent out to all the recipients. The code behind this is VBscript.

The problem is the salesman wants to send a Publisher file (not as an attachment but an actual content of email). However, the recipients receive the publisher file as an image which means the hyperlinks on publisher file don’t work on the recipients’ side (of course, we can always use HTML file to accomplish that but the salesman really wants to use Publisher file). I can make this happen through Outlook ("Actions" on the top of outlook toolbar -> "New Mail Message Using" option -> "Microsoft Office" option -> "Microsoft Publisher Publication" option). After selecting all these options, the recipients can receive the file as a publisher file and all the hyperlinks work. However, I have to implement this in VBScript so that this Access application can perform the same action.

Does anyone have such experience? any advise would be appreciated!

Thanks a lot,
Bin







Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript compilation (0x800A0401) dayang Classic ASP Basics 14 May 8th, 2008 02:16 AM
Microsoft VBScript runtime (0x800A0005) mail1 Classic ASP Basics 4 March 27th, 2008 03:42 PM
Microsoft VBScript compilation (0x800A0400) davidclangley ASP.NET 2.0 Basics 0 February 11th, 2007 10:46 AM
Microsoft VBScript runtime (0x800A0005) Swetz Classic ASP Components 0 May 14th, 2006 03:44 AM
Microsoft VBScript compilation (0x800A0400) cnottingham Classic ASP Databases 2 February 12th, 2004 10:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.