Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Delete all Rows Macro
Hello I need a macro to delete all rows except row 1 thanks
|
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Delete all Rows Macro
Me again ... What I need is a macro to delete all rows except row 1 and also
delete all formating e.g. borders, patterns thanks again "Wanna Learn" wrote: Hello I need a macro to delete all rows except row 1 thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Delete all Rows Macro
good up until xl2007. SAVE workbook.
Sub deleteallrowsbut1() Rows("2:65536").Delete End Sub -- Don Guillett SalesAid Software "Wanna Learn" wrote in message ... Hello I need a macro to delete all rows except row 1 thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Delete all Rows Macro
Don,
Out of interest, (assuming you have XL2007), would: Sub AllButOne() Rows("2:" & Rows.Count).Delete End Sub work in all versions? -- Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Don Guillett" wrote in message ... good up until xl2007. SAVE workbook. Sub deleteallrowsbut1() Rows("2:65536").Delete End Sub -- Don Guillett SalesAid Software "Wanna Learn" wrote in message ... Hello I need a macro to delete all rows except row 1 thanks |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Delete all Rows Macro
Thank you Don. -- Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Don Guillett" wrote in message ... I do have xl2007 courtesy of special MicroSoft introduction but still in the box until I get a new computer. I assume that would work but there sure are a lot of rows.... -- Don Guillett SalesAid Software "Sandy Mann" wrote in message ... Don, Out of interest, (assuming you have XL2007), would: Sub AllButOne() Rows("2:" & Rows.Count).Delete End Sub work in all versions? -- Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Don Guillett" wrote in message ... good up until xl2007. SAVE workbook. Sub deleteallrowsbut1() Rows("2:65536").Delete End Sub -- Don Guillett SalesAid Software "Wanna Learn" wrote in message ... Hello I need a macro to delete all rows except row 1 thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro to Delete Certain Rows | Excel Discussion (Misc queries) | |||
delete rows using macro | Excel Worksheet Functions | |||
delete rows in range - macro | Excel Worksheet Functions | |||
Macro to find and delete rows! | Excel Discussion (Misc queries) | |||
delete rows-macro | Excel Discussion (Misc queries) |