View Single Post
 
Old 04-06-2021, 12:08 AM
Purfleet Purfleet is offline Windows 10 Office 2019
Expert
 
Join Date: Jun 2020
Location: Essex
Posts: 345
Purfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to behold
Default

I would run an update macro if you have existing data to indent, just the range then run (in a normal module). Obviously this can be updated/improved

Code:
Sub IndentArrows()

    Dim r As Range
    Dim c As Range
    
    Set r = Selection
    
    For Each c In r
        If Left(c.Value, 1) = ">" And c.IndentLevel = 0 Then c.InsertIndent 1
    Next c

End Sub
Attached Files
File Type: xlsm Indent_Purfleet3.xlsm (18.0 KB, 5 views)
Reply With Quote