Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
JMB;
I have tried this code and I get an error and it goes into debug mode. I have typed the macro exactly as you have it. I did change Sheet2 to Sheet1. As a side note, how would I default this to the active sheet? Thanks - Bruce -- VBA Rookie "JMB" wrote: This should find the last cell in Col A that has an entry. Then changes the font in column A-H to bold for that row. Modify to use whatever formatting you wanted. Sub test() With Worksheets("Sheet2") With .Cells(.Rows.Count, 1).End(xlUp).Resize(1, 8) .Font.Bold = True End With End With End Sub "Calle" wrote: Hi! Is it possible for a macro to format the last row from say A-H in a worksheet. I can't do this manually since the length of the worksheet changes from time to time. Regards Calle |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to format a sheet | Excel Programming | |||
How do I format a sheet using a copy macro? | Excel Programming | |||
can I clean old excel data format with macro on funny spread sheet | Excel Programming | |||
How do I copy a print format from sheet to sheet in excel ? | Excel Discussion (Misc queries) | |||
Can a macro format a hidden sheet? | Excel Discussion (Misc queries) |