Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-25-2019, 09:19 PM
NoSparks NoSparks is offline How to have a Hyperlink Mailto with more than 255 characters. Windows 7 64bit How to have a Hyperlink Mailto with more than 255 characters. Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Glad it works.
Any issues applying it to your real worksheet just come back and ask, we can sort it out.

Your second post wasn't there for me when I made my second post and I never received email notification of it.

Quote:
In Excel > Developer > Visual Basic, there are 8 items under Modules.
Of course, zzChangeLog is not really neccesary, but I'll leave it there.
And zAntiquatedCode is also probably not used?
mUI is empty. Why is it there?
What the heck are you talking about ?
The workbook I posted has all the code on the test255 sheet module, that's it, no other modules exist.
Do you have more than one workbook open ?

Quote:
how does the operable Link get into column A?
I don't see how column A cells are filled.
That's what the AddHyperlink sub did when it was run, and it only needed to be run once, although
if you changed the TextToDisplay and did run it again it would have overwritten the existing hyperlinks.
I left it in so you could see how the links were done.
The range of email addresses is hard coded to range("B10:B30") then for each cell in that range the hyperlink is built in the cell offset 1 column to the left (the -1).

I don't know what your actual text will be in the cells for the email body.
Based on what you have in the worksheet you attached, I would change the body line in the code so the line feeds are changed.
Code:
    body = Replace(Range("D" & lnkrw), "%0D%0A", Chr(10)) & Replace(Range("E" & lnkrw), "%0D%0A", Chr(10))
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have a Hyperlink Mailto with more than 255 characters. Stop Word from displaying {HYPERLINK "mailto:my_email@provider.com"} in Print Layout View Stargehzer Word 2 11-17-2018 07:07 PM
Strange Characters appear when selecting SHOW ALL NON PRINTING CHARACTERS ann Amber Word 1 08-01-2015 08:06 PM
How to have a Hyperlink Mailto with more than 255 characters. mailto Hyperlink in MailMerge robpgreer Mail Merge 3 05-06-2011 04:27 PM
Decoding mailto subjects smaslin Outlook 0 03-09-2009 08:09 AM
mailto in word cinvernizzi Word 0 02-17-2009 03:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft