Results 1 to 13 of 13

Thread: Question How to put slash with word and ascending numbers in excel with VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,970
    Something along the lines of
    Sub blah()
        Z = 1
        For Each cll In Range("A1:B21").SpecialCells(xlCellTypeConstants, 3).Cells
            cll.Value = cll.Value & "/category" & Z
            Z = Z + 1
        Next cll
    End Sub
    Last edited by Aussiebear; 05-15-2025 at 10:38 PM.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •