Livin404
Well-known Member
- Joined
- Jan 7, 2019
- Messages
- 743
- Office Version
- 365
- 2019
- Platform
- Windows
Greetings I have the following VBA which I can get the following results. Ranks and etc. are arbitrary. Which I get from: I would like to adjust the username, to make it more concise.
REVIEWED BY: WHITESIDE, SHERIDAN U ESQ-07 ERAU UAA 437 CHS/IATA
REVIEWED BY: WHITESIDE, SHERIDAN U CAPT ERAU UAA 437 CHS/IATA
REVIEWED BY: WHITESIDE, SHERIDAN U MAJ ERAU UAA 437 CHS/IATA
If at all possible I would like the end result to be.
UPDATED BY: MR WHITESIDE
UPDATED BY: CAPT WHITESIDE
UPDATED BY: MAJ WHITESIDE
I just would like to keep the surname drop everything else, but move that block of letters ESQ-07 and change it to a MR (no period). Most important there are only two in the organization that have this title. The rest will have a Rank it will be either 3 or 4 letters; for example, CAPT or MAJ. Any assistance would be great. Thank you
VBA Code:
Sub find_last_plus_3()
LastRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row
Range("A" & LastRow + 3).Value = "UPDATED BY:" & " " & Application.UserName
End Sub
REVIEWED BY: WHITESIDE, SHERIDAN U ESQ-07 ERAU UAA 437 CHS/IATA
REVIEWED BY: WHITESIDE, SHERIDAN U CAPT ERAU UAA 437 CHS/IATA
REVIEWED BY: WHITESIDE, SHERIDAN U MAJ ERAU UAA 437 CHS/IATA
If at all possible I would like the end result to be.
UPDATED BY: MR WHITESIDE
UPDATED BY: CAPT WHITESIDE
UPDATED BY: MAJ WHITESIDE
I just would like to keep the surname drop everything else, but move that block of letters ESQ-07 and change it to a MR (no period). Most important there are only two in the organization that have this title. The rest will have a Rank it will be either 3 or 4 letters; for example, CAPT or MAJ. Any assistance would be great. Thank you