email to

0 Agios

Well-known Member
Joined
Feb 22, 2004
Messages
570
Office Version
  1. 365
whats the equivalent link for BCC, CC and subject, using the following code.

ActiveWorkbook.FollowHyperlink Address:="mailto:chuck@advfireonline.com; & ', NewWindow:=True"

thanks.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Strange... it worked for me. Did you try it?
 
Last edited:
Upvote 0
Code:
ActiveWorkbook.FollowHyperlink Address:="[EMAIL="fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test"]mailto:fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test[/EMAIL] message&body=Hello!%0a%0aThis is an email! & ', NewWindow:=True"
 
Upvote 0
Code:
ActiveWorkbook.FollowHyperlink Address:="[EMAIL="fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test"]mailto:fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test[/EMAIL] message&body=Hello!%0a%0aThis is an email! & ', NewWindow:=True"

This works thanks.
 
Upvote 0
Code:
ActiveWorkbook.FollowHyperlink Address:="[EMAIL="fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test"]mailto:fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=Test[/EMAIL] message&body=Hello!%0a%0aThis is an email! & ', NewWindow:=True"

If I want to change
subject= to a range in the active page? is that possible?
My range is ("D6")
Thanks.
 
Upvote 0
If I want to change subject= to a range in the active page? is that possible?
My range is ("D6")
Code:
ActiveWorkbook.FollowHyperlink Address:="mailto:fred@fred.com;bill@bill.com?cc=test@test.com&bcc=me@me.com&subject=" & Range("D6") & "&body=Hello!%0a%0aThis is an email! & ', NewWindow:=True"
 
Last edited:
Upvote 0
See, you should have believed me the first time! :)
I shoud have .... but I got confused with all the HTML, thanks for the responce :)

can you help with this ?
If I want to change
subject= to a range in the active page? is that possible?
My range is ("D6")
Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,756
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top