Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Currently I am using a macro to format column E for a number sequence, but I
am receiving new sheets where the info that normally is in column E is in another column. Is it possible to modify this code to only format columns in which the column header is labeled as "Subject ID"? Columns("E:E").Select Selection.NumberFormat = "000000000000000 " End Sub Sub FormatSheets() For Each ws In Worksheets ws.Rows(1).Font.ColorIndex = 2 ws.Columns("E:E").NumberFormat = "000000000000000" Next ws End Sub Thanks Fred |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set Range.....am I to blind? | Excel Programming | |||
Excel add-in that may help the color blind | Excel Programming | |||
Blind Carbon Copy (Bcc) | Excel Discussion (Misc queries) | |||
Excel for Blind persons use | Excel Discussion (Misc queries) | |||
Alternative to Conditional Formatting | Excel Programming |