VBA email macro converts text into numbers?

Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I have this amazing email macro that @RoryA helped me build (big credits!).

He created a nice loop for me that runs all subjects in an email meaning I can email as many email addresses as I want at a time.

However, when I run it now, it converts my text into numbers for some reason?

For the email subject, I have these 3 subjects:

1645626304165.png


However, when I run the email code now, the subject ends up in numbers?

1645626355886.png


Any idea why? My excel cells are in "general" value format and the code looks like this:

1645626430429.png


Would appreciate some assistance here, thank you! :)
Kind regards,
Jyggalag
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
The code looks at column A for the subject, not J.
 
Upvote 0
Solution
The code looks at column A for the subject, not J.
Wow can't believe I missed that

Fixed it now! You were indeed correct, as always :)

Thank you so much Rory! I promise to raise a statue of you in my future garden some day :D
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

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