LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Closing and attaching spreadsheet to an email


Hi,

I have a hyperlink (email address) in a user form, but what I would
like to do is when the link is clicked, the file to get attached to an
email.

Here is the code I presently have, where by clicking will open an email
window and the file wil remain open.

Private Sub lblMail_Click()
Link = "
ActiveWorkbook.FollowHyperlink Address:=Link, NewWindow:=True
Unload Me

Exit Sub

End Sub


Private Sub UserForm_Click()


End Sub

Appreciate your help.

Mike


--
caddy
------------------------------------------------------------------------
caddy's Profile: http://www.excelforum.com/member.php...o&userid=31858
View this thread: http://www.excelforum.com/showthread...hreadid=515843

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching an Excel File to an Email billbrandi Excel Discussion (Misc queries) 2 May 25th 09 01:22 PM
Attaching an Outlook email into a cell Joanne R Excel Discussion (Misc queries) 0 December 15th 08 11:17 PM
Attaching One Worksheet to Email KeshnerH Excel Programming 1 January 26th 05 07:27 PM
attaching tabs to email please help Excel Discussion (Misc queries) 3 January 19th 05 07:50 PM
Sending email WITHOUT attaching a workbook? Kobayashi[_5_] Excel Programming 2 September 25th 03 02:20 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"