![]() |
#5
|
|||
|
|||
![]()
Thanks!
![]() What does the following line do in the ways of selecting the code fields or texts? Code:
If Trim(Split(UCase(.Code.Text), "MERGEFIELD")(1)) = "Label" Then The code runs and opens/closes all the relevant docs but the result comes up empty which I know can't be true. It might be that I need to replace 'MERGEFIELD' with something but doing so makes the code stop running in this line. If I then mouse over '.Code.Text' it shows me an unrelated fieldname as a value. Last edited by macropod; 10-19-2017 at 12:57 AM. Reason: Deleted unnecessary quote of entire post replied to |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
dmreno | Word VBA | 3 | 07-30-2019 02:31 PM |
referenceing/finding word from one documents into another documents and indicating their location | rok123 | Word VBA | 1 | 02-07-2016 04:50 PM |
![]() |
ducky831 | Excel Programming | 3 | 09-17-2015 01:36 PM |
![]() |
mescaL | Word VBA | 3 | 11-03-2014 10:51 PM |
Finding specific text within body of email | Tammfran | Outlook | 0 | 03-14-2014 02:32 PM |