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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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,216,116
Messages
6,128,926
Members
449,479
Latest member
nana abanyin

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