Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2022, 10:14 PM
gmayor's Avatar
gmayor gmayor is offline Don't duplicate merged messages Windows 10 Don't duplicate merged messages Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,138
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

See attached

1 - Form amended to run SendMessage


2 - The process creates HTML messages, see the modified syntax used in the code. If you want to do it as you had it, you must collapse the range to its end before each new text or it will simply overwrite the last text.
3 - sName is just a variable name used to reproduce the FirstName in the message from the indicated cell.
4 - Added 5 days to delivery date
5 - Yes - remove the apostrophe to send the messages
I have added some annotation to the code.
Attached Files
File Type: xlsm MoveOuts2.xlsm (26.4 KB, 9 views)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 03-03-2022, 12:41 PM
Fyldeboy Fyldeboy is offline Don't duplicate merged messages Windows 10 Don't duplicate merged messages Office 2016
Novice
Don't duplicate merged messages
 
Join Date: Feb 2022
Posts: 5
Fyldeboy is on a distinguished road
Default

Brilliant, incidentally, found your website to be so interesting
Reply With Quote
  #3  
Old 03-04-2022, 08:05 AM
Fyldeboy Fyldeboy is offline Don't duplicate merged messages Windows 10 Don't duplicate merged messages Office 2016
Novice
Don't duplicate merged messages
 
Join Date: Feb 2022
Posts: 5
Fyldeboy is on a distinguished road
Default

Now all working brilliantly, however, I'd like to add a html hyperlink into the generated message - would this be easy to do?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't duplicate merged messages How to unmerge all merged cell and fill them with the merged values? Bumba Excel Programming 1 11-10-2019 11:36 AM
Can Excel find Duplicate entries when only part of the cell's data is a duplicate of another cell? jsisley Excel 1 07-21-2017 09:20 AM
Web string/link in Excel, Mail merged into Word and then pasted into Messages on Mac issue Alex Knight Excel 0 12-08-2016 08:33 AM
Don't duplicate merged messages Table will not allow sorting because "cells are merged". I can't find the merged cells. wendyloooo Word Tables 1 05-26-2015 01:19 PM
Why does leaving messages on the server in Outlook 2007 cause duplicate incoming emails? haggis999 Outlook 0 02-23-2015 10:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:26 PM.


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