View Single Post
 
Old 03-31-2021, 09:55 PM
mbcohn mbcohn is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Jan 2021
Posts: 32
mbcohn is on a distinguished road
Default

Okay, that worked.

It turned out that sometimes there is a space after "published," and sometimes there isn't. So what I did is:
Code:
Case "Published "
              If .Cells(1).ColumnIndex = 1 Then
                .Cells(1).Next.Range.Text = "2 April 2021"
              End If
            Case "Published"
              If .Cells(1).ColumnIndex = 1 Then
                .Cells(1).Next.Range.Text = "2 April 2021"
              End If

Would you mind providing some guidance on what this means?
Code:
.Text = "[PR][eu][bv][ils]{3}[ehno]{2}[ Ndo]{1,3}"
Reply With Quote