adding 'ComboBox2' data into subject headfing in email error please help

Patriot2879

Well-known Member
Joined
Feb 1, 2018
Messages
1,231
Office Version
  1. 2010
Platform
  1. Windows
Hi i hope you can help, i am tring to add the data entered into 'ComboBox2' into my subject heading in an email, i have tried the below code but i get an error, i really hope you can help me? thanks for your time.
Code:
aEmail.Subject = Range("ComboBox2").Value
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
hji i have now put this in as a code but no joy, i want it to say in subject heading 'Today and what ever it says in the ComboBox1 in userform8, if you can help please

Code:
aEmail.Subject = "Today" & Range("ComboBox1").Value
 
Upvote 0
How about
Code:
aEmail.Subject = "Today" & Userform8.ComboBox1.Value
 
Upvote 0
that is great thank you, thanks again for your help :), sorry about the duplication earlier today, won't happen again :), your help is so greatly appreciated
 
Upvote 0
Glad we could help 7 thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,577
Messages
6,125,640
Members
449,242
Latest member
Mari_mariou

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