#1
|
|||
|
|||
Macro to check if url exist in word doc
Hi hi
I need help to write a word macro to check if url in the word document exists. So when user open the file, the macro is to first check if the url exist, if url does not exist, message to appear like 'url not exist' and close the file. Thanks. Last edited by elaineAda; 10-06-2022 at 11:34 PM. Reason: change title |
#2
|
||||
|
||||
You haven't specified which hyperlink to check so I'll just point you at some other threads where people have tested hyperlinks or filepath links
vba - Checking for broken hyperlinks in Excel - Stack Overflow Excel VBA module to test if hyperlink string refers to valid file - Stack Overflow Checking validity of hyperlinks in Excel - Microsoft Tech Community Custom function for checking validity of a hyperlink | MrExcel Message Board
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Thanks, but I need it for word document.
These are all for Excel. I am not sure how to do in word document. |
#4
|
||||
|
||||
Cross-posted (and answered) at: Word macro to check url exists
For cross-posting etiquette, please read: Excelguru Help Site - A message to forum cross posters
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get Word Spell Check/Grammar Check to ignore )( parentheses? | skarden | Word | 6 | 09-26-2022 08:57 AM |
Word 2013 Variables, do they exist? | ThatGuy | Word | 17 | 04-07-2017 04:59 PM |
Inserting unicode characters that don't exist in MS Word | jdavid10 | Word | 5 | 01-11-2017 12:14 PM |
Word 2010 the requested member of the collection does not exist | flyboy3300 | Word VBA | 15 | 08-02-2016 01:40 AM |
Link word check box to access check box | Mrkieth | Word | 4 | 01-30-2012 06:43 AM |