![]() |
|
|
Thread Tools | Display Modes |
#23
|
|||
|
|||
![]()
Hi Paul
I am stuck with the following condition strNewNm = .SelectContentControlsByTitle("TreatyStatement/OurReference1")(1).Range.Text _ & "_" & .SelectContentControlsByTitle("TreatyStatement/OurReference2")(1).Range.Text _ & "." & Split(.Name, ".")(UBound(Split(.Name, "."))) You have used one of the word "TreatyStatement" as a condition to find the number. The issue is it is not static it keeps on changing in many word doc. Can we stick to only one condition that is "Ourreference" only. Regards, Jaggi |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to rename multiple Word file with same suffix | ozil61 | Word VBA | 2 | 05-06-2014 07:36 AM |
![]() |
SymphonyTomorrow | Word | 9 | 08-05-2013 05:31 PM |
![]() |
d4okeefe | Word VBA | 4 | 05-23-2013 09:35 AM |
![]() |
antztaylor | Excel | 5 | 11-08-2012 09:54 PM |
![]() |
Wyskers | Mail Merge | 1 | 11-30-2011 04:46 AM |