Auto number column A while ignoring rows with bold text.

asdsparky

Board Regular
Joined
Oct 13, 2017
Messages
60
I need my spreadsheet to automatically insert a sequential number to all cells in column A (beginning with row 14) with the exception of the rows that contain bold text (header rows if you will, for each category). I also need to be able to add or delete rows and have the numbering auto correct the sequence. Does this sound do-able. The examples I keep finding are skipping hidden rows or nothing at all. I need something like this:
[TABLE="width: 860"]
<tbody>[TR]
[TD="class: xl67, width: 34, bgcolor: transparent"][/TD]
[TD="width: 356, bgcolor: transparent"][/TD]
[TD="width: 333, bgcolor: transparent"][/TD]
[TD="width: 93, bgcolor: transparent"][/TD]
[TD="width: 101, bgcolor: transparent"][/TD]
[TD="class: xl65, width: 228, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl67, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl92, bgcolor: transparent, colspan: 5"]Clipart Area
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl90, width: 356, bgcolor: transparent"][/TD]
[TD="class: xl90, width: 333, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl84, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl86"]Column1
[/TD]
[TD="class: xl87, bgcolor: white"]Column2
[/TD]
[TD="class: xl87, bgcolor: white"]Column3
[/TD]
[TD="class: xl88, width: 93, bgcolor: white"]Column4
[/TD]
[TD="class: xl87, bgcolor: white"]Column5
[/TD]
[TD="class: xl89, width: 228, bgcolor: white"]Column6
[/TD]
[/TR]
[TR]
[TD="class: xl68"][/TD]
[TD="class: xl69, width: 356"]Section 1 (bold text)
[/TD]
[TD="class: xl70, width: 333"][/TD]
[TD="class: xl70, width: 93"][/TD]
[TD="class: xl70, width: 101"][/TD]
[TD="class: xl66, width: 228"][/TD]
[/TR]
[TR]
[TD="class: xl78, bgcolor: transparent"]1
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"] (THIS IS ROW 14) Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl78"]2
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 93"][/TD]
[TD="class: xl71, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl78, bgcolor: transparent"]3
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="width: 333, bgcolor: transparent, align: left"]
<v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"> <v:stroke joinstyle="miter"> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"> <v:f eqn="sum @0 1 0"> <v:f eqn="sum 0 0 @1"> <v:f eqn="prod @2 1 2"> <v:f eqn="prod @3 21600 pixelWidth"> <v:f eqn="prod @3 21600 pixelHeight"> <v:f eqn="sum @0 0 1"> <v:f eqn="prod @6 1 2"> <v:f eqn="prod @7 21600 pixelWidth"> <v:f eqn="sum @8 21600 0"> <v:f eqn="prod @7 21600 pixelHeight"> <v:f eqn="sum @10 21600 0"> </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas> <v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"> <o:lock aspectratio="t" v:ext="edit"> </o:lock></v:path></v:stroke></v:shapetype><v:shape id="TextBox_x0020_1" style="width: 0.375pt; height: 13.5pt; margin-top: -0.375pt; margin-left: 64.125pt; visibility: visible; position: absolute; z-index: 1;" type="#_x0000_t75" o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF



dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ



gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI



+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb



mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu



ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y



ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7Teh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JZeVIFPRSPafDlEok6EazmN7l4pW2npqyZgpI3ssooS1mKlG1



KNHMiNJIaqYLRrMooXb2QbTYtmhxU4rPXLWmBaiWewU+uR34UG+59RqwABMM46A9n0o/Ja7OvKuc



+SE9vcmYRgRAi51FQOHpbanrxu3J3SWhdgFPG0po4WYqoSyjGjzuw4dwGp2SehE1Luvr7cKlhnrS



FGo9CK1CjebN92lxVV8D32puoKGeKWjonLbcRrUOITNBccudwcQYLoMYYofLry5EPThrmQiWvPBX



ySwx46KLuJ8YXCWdJBsERGDmUBK0XLn93A00VDlE6VauQEL4aJXbhrTysSkHTjedjGczPBG62zWK



tHRyCxk+yRXWp4r96mDJGS3A3UN/euqM6YI9QBBi9WZZGnBKOBwclBNrTgmchOWJrIi/lcKUpl39



KErFUEJHNPZRWlH0ZJ7AVSrP1VF3uQ20u3TPYFDNJGkhHHuywOpGNappXjUSHTZW3fOZpOW0pFnU



TCOryKppz2LGClkZWLHl1Yq8plVmYshpeoVPUvdqyt3Oct1Kn5BXCTB4bj9L1b1AQdBUKxYzVJMa



r6dhmbNTqlk7sg2eo9pFioSW9RuZ2BW75TXCuhwQr1T5gW81aoE0y/pKZWnbqfYAxc7YK7dcOFmG



8eBTuIKzaRdoFUmrSBpcwYEzlIvklLjlphcZBZ4nlBxTzSjVDFPLKLWMUs8o9YzSyCgN11HHqXCE



L09SXSc7LYUalp6upr2FefS/+w8AAAD//wMAUEsDBBQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAA



Y2xpcGJvYXJkL2RyYXdpbmdzL19yZWxzL2RyYXdpbmcxLnhtbC5yZWxzhI/NCsIwEITvgu8Q9m7S



ehCRJr2I0KvUBwjJNi02PyRR7Nsb6EVB8LIws+w3s037sjN5YkyTdxxqWgFBp7yenOFw6y+7I5CU



pdNy9g45LJigFdtNc8VZ5nKUxikkUigucRhzDifGkhrRykR9QFc2g49W5iKjYUGquzTI9lV1YPGT



AeKLSTrNIXa6BtIvoST/Z/thmBSevXpYdPlHBMulFxagjAYzB0pXZ501LV2BiYZ9/SbeAAAA//8D



AFBLAQItABQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAAAAAAAAAAAAAAAAAAABbQ29udGVudF9U



eXBlc10ueG1sUEsBAi0AFAAGAAgAAAAhAK0wP/HBAAAAMgEAAAsAAAAAAAAAAAAAAAAANgEAAF9y



ZWxzLy5yZWxzUEsBAi0AFAAGAAgAAAAhAORZ94VmAwAAeQ0AAB8AAAAAAAAAAAAAAAAAIAIAAGNs



aXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWxQSwECLQAUAAYACAAAACEAcz2HtgoHAABGIAAA



GgAAAAAAAAAAAAAAAADDBQAAY2xpcGJvYXJkL3RoZW1lL3RoZW1lMS54bWxQSwECLQAUAAYACAAA



ACEAnGZGQbsAAAAkAQAAKgAAAAAAAAAAAAAAAAAFDQAAY2xpcGJvYXJkL2RyYXdpbmdzL19yZWxz



L2RyYXdpbmcxLnhtbC5yZWxzUEsFBgAAAAAFAAUAZwEAAAgOAAAAAA==



" o:spid="_x0000_s1033"> <v:imagedata o:title="" src="file:///C:/Users/davisa/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png"> <o:lock aspectratio="f" v:ext="edit"> <x:clientdata ObjectType="Pict"> <x:sizewithcells> <x:cf>Bitmap</x:cf> <x:autopict> </x:autopict></x:sizewithcells></x:clientdata> </o:lock></v:imagedata></v:shape>

<tbody>
[TD="class: xl71"]Non Bold Text Area
[/TD]

</tbody>
[/TD]
[TD="class: xl71"][/TD]
[TD="class: xl71, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl78"]4
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 93"][/TD]
[TD="class: xl71, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl78, bgcolor: transparent"][/TD]
[TD="class: xl81, width: 356, bgcolor: transparent"]Section 2 (bold text)
[/TD]
[TD="class: xl82, width: 333, bgcolor: transparent"][/TD]
[TD="class: xl82, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl82, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl83, width: 228, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl78"][/TD]
[TD="class: xl91, width: 356"]Subsection 2a (bold text)
[/TD]
[TD="class: xl82, width: 333"][/TD]
[TD="class: xl82, width: 93"][/TD]
[TD="class: xl82, width: 101"][/TD]
[TD="class: xl83, width: 228"][/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]5
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl74, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]6
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl75, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]7
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl74, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]8
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl74, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]9
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl74, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]10
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl79, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"][/TD]
[TD="class: xl76, width: 356, bgcolor: transparent"]Section 3 (bold text)
[/TD]
[TD="class: xl74, width: 333, bgcolor: transparent"][/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl77, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl80, width: 228, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl73"][/TD]
[TD="class: xl85, width: 356"]Subsection 3a (bold text)
[/TD]
[TD="class: xl72, width: 333"][/TD]
[TD="class: xl72, width: 93"][/TD]
[TD="class: xl77, width: 101"][/TD]
[TD="class: xl80, width: 228"][/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]11
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl77, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]12
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl77, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]13
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl77, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]14
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl77, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]15
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl77, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73"]16
[/TD]
[TD="class: xl71, width: 356"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93"][/TD]
[TD="class: xl77, width: 101"][/TD]
[TD="class: xl71, width: 228"]Non Bold Text Area
[/TD]
[/TR]
[TR]
[TD="class: xl73, bgcolor: transparent"]17
[/TD]
[TD="class: xl71, width: 356, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl71, width: 333, bgcolor: transparent"]Non Bold Text Area
[/TD]
[TD="class: xl74, width: 93, bgcolor: transparent"][/TD]
[TD="class: xl77, width: 101, bgcolor: transparent"][/TD]
[TD="class: xl71, width: 228, bgcolor: transparent"]Non Bold Text Area
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try this code. In Excel right click on the tab you want this code to run on and select view code. Past the code below in the VBA editor. When you make a change to column B the code will run, NOTE that changing a cell in column B from bold to not bold or vice versa does not trigger the code as excel does not see it as a change in value. If the cell in column B is blank but the cell is formatted as bold it will not be numbered and if it is not it will be numbered. To make sure the numbers are right the code will delete the range A14 to last row used in column A.

Code:
Private Sub Worksheet_Change(ByVal Target As Range)

Dim lr As Long
Dim lra As Long
Dim rnum As Long
lr = Cells(Rows.Count, 2).End(xlUp).Row
lra = Cells(Rows.Count, 1).End(xlUp).Row
rnum = 1
Stop
If Not Intersect(Target, Columns(2)) Is Nothing Then
Application.EnableEvents = False
Range("A14:A" & lra).ClearContents
    For x = 14 To lr
        If Cells(x, 2).Font.Bold = False Then
            Cells(x, 1) = rnum
            rnum = rnum + 1
        End If
    Next x
    Application.EnableEvents = True
End If
End Sub
 
Upvote 0
It's not identifying a specific error but when I apply the code and make a change to column B, the VBA pops up and highlights the line "Stop" in the code.

*Update: I took "stop" out of the code and everything works perfectly. Not sure why you had it in there but it works now. Thanks.
 
Last edited:
Upvote 0
Sorry put the stop in for testing and forgot to take it out.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top