Customizing "Send to" Attachment Script

Status
Not open for further replies.

hhound4

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
I am using a very helpful script ( http://www.slipstick.com/outlook/create-a-custom-send-to-shortcut/#joseph ) that enables me to select 2 attachments in windows explorer and use a custom "send to" button to mail them out. Method I am using is "Joseph's Script Method"

So far I have changed around the subject line and added some basic text in the body. My issue is that I am absolutely new to VBA and don't know enough to make further alterations. Basically I would just like to do simple things like adjust text size, text color, add spaces, bold text etc... in the body of the message. I am very familiar with HTML, is there a way to turn the body into HTML coding?

Or is there a simple place I can learn the absolute basics of VBA to just change text around?

I am using Outlook 2013, 32 bit - appreciate any help you can provide, thanks.
 
It would be like this -
oEmailitem.HTMLBody = "<p style='color:green'> whatever " & subjectStr & "</p>"

You can use either ' or " around most html elements - using ' makes it easier to code.
 
It would be like this -
oEmailitem.HTMLBody = "<p style='color:green'> whatever " & subjectStr & "</p>"

You can use either ' or " around most html elements - using ' makes it easier to code.

Thanks! All I needed!
 
I would like to ask on the same topic if there is a way to ZIP the attachments used rather than just attaching them soi can use it with files that cannot be attached unless zipped. The script works beautifully!
 
if your zip program supports command line zip, you should be able to do it. you'll need to pass the file names to the command line to create the zip.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Customizing Outlook 2010 with Email Address Using Outlook 2
S Customizing Connected Services in Office 2013 Pro Plus (O365) Using Outlook 1
J Customizing PST error message in Outlook Using Outlook 8
N Starting out with BCM - Customizing contact records BCM (Business Contact Manager) 1
S Customizing an Outlook 2010 Email Form Exchange Server Administration 1
X BCM: Customizing Marketing Forms BCM (Business Contact Manager) 2
D Customizing Tasks form in Outlook 2007 Using Outlook 4
J Customizing Contact Form Using Outlook 6
P Customizing Business Cards in BCM BCM (Business Contact Manager) 0
R customizing bcm for Brazil... issues BCM (Business Contact Manager) 1
D Customizing BCM BCM (Business Contact Manager) 2
J Customizing fields in Outlook forms Outlook VBA and Custom Forms 1
R Real Estate Customizing BCM (Business Contact Manager) 2
C Synchronization and taking forever to send Using Outlook 2
D Send on behalf of does not store the base mailbox Using Outlook 0
R Outlook 365 VBA AUTO SEND WITH DELAY FOR EACH EMAIL Outlook VBA and Custom Forms 0
S Outlook 2002- "Send" button has disappeared. Help please. Using Outlook 1
TomHuckstep Remove Send/Receive All Folders (IMAP/POP) button from Outlook 365 Ribbon Using Outlook 2
J Macro to send email as alias Outlook VBA and Custom Forms 0
F Add a category before "Send an Email When You Add an Appointment to Your Calendar" Outlook VBA and Custom Forms 0
W Outlook 365 I am getting the "Either there is no default mail client" error when I try to send an email on excel Office 365 Using Outlook 1
T Outlook 2010 recipient no longer shows in 'Send To' Using Outlook 0
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Geldner Tweak Junk Email Reporting tool to default to particular email on send? Using Outlook 3
Geldner Send / Receive a particular group via macro or single keypress Using Outlook 1
E Outlook - Macro - send list of Tasks which are not finished Outlook VBA and Custom Forms 3
L How to avoid issues with "Send on Behalf" Using Outlook 3
M Outlook 365 refuses to send email Using Outlook 0
A Change settings Send/receive VBA Outlook VBA and Custom Forms 0
M I cant send emails via Outlook in my W10 PC. Using Outlook 3
K Run a script rule to auto 'send again' on undeliverable emails? Outlook VBA and Custom Forms 1
G Send a greeting message to a contact on birthday Outlook VBA and Custom Forms 5
T Outlook creates a copie of every mail I send Using Outlook.com accounts in Outlook 4
R How to restrict GWSMO sync to Outlook Send/Receive cycles Using Outlook 0
M Outlook, send to > mail recipient - results in plain text email Using Outlook 1
A Unflag Inbox and Flag Inbox with Orange Category After Item is send Outlook VBA and Custom Forms 3
glnz O365 - How to send from acct 2 but showing email name from acct 1 as From - alias? Using Outlook 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
PGSystemTester VBA To Change AppointmentItem.BusyStatus From MeetingItem Before Send Using Outlook 0
C Synchronizing subscribed folders causes hanging during send/receive process Using Outlook 2
M Extract all links from Outlook email, send to Excel Using Outlook 2
A VBA macro for 15 second loop in send and received just for 1 specific mailbox Outlook VBA and Custom Forms 1
O Outlook 365 - suddenly unable to send using Gmail POP3 Using Outlook 10
T After I send a new email, it remains in the Draft folder Using Outlook.com accounts in Outlook 3
B Programmatically force html send and insert clipboard contents into body Outlook VBA and Custom Forms 0
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
C Send/receive error 80040119 Using Outlook 2
J Send Again NDR Outlook VBA and Custom Forms 1

Similar threads

Back
Top