View Single Post
 
Old 09-16-2021, 03:52 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It looks like you are mix and matching code from both macros I posted. If you want to do that then you MUST look at the differences and work out what the differences mean.

The changes I made to the second macro don't rely on the presence of the \w.

When you say the code wouldn't even run, can you cast any light on what line was failing.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote