![]() |
|
#1
|
||||
|
||||
![]() Quote:
What if there is less than 5 paragraphs or more than 5 paragraphs?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
||||
|
||||
![]() Quote:
For example Code:
With .Cell(i, 4).Range If Len(.Text) > 2 Then .InsertBefore "Er.Prio: " & StrTxt3 & vbCr Else .InsertBefore "Er.Prio: " & StrTxt3 End If Quote:
I don't know how to make this things happen. My search string is Code:
WO [0-9]{5,} [A-Z0-9]{1,2}^13*13[A-VX-Z][A-Z] Quote:
|
#3
|
||||
|
||||
![]()
The Problem Looks like
Code:
If .Find.Found Then Code:
With .Cell(i, 5).Range |
![]() |
Tags |
excel vba, word vba |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Atomizer | Word VBA | 3 | 08-24-2015 04:49 PM |
![]() |
stubevh | Word | 2 | 03-04-2015 06:27 PM |
![]() |
Eric855 | Word | 6 | 07-25-2013 08:02 AM |
![]() |
dgcarlin | Word VBA | 1 | 07-06-2012 05:46 PM |
Extracting Contacts Data from Excel | Caesar | Outlook | 1 | 05-08-2011 05:54 AM |