Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
delete a row
Is there a way that when i open an excel spreadsheet that
it will delete the first row automatically |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
delete a row
Public Sub Auto_Open()
ActiveSheet.Rows(1).Delete End sub -- Regards, Tom Ogilvy Dan wrote in message ... Is there a way that when i open an excel spreadsheet that it will delete the first row automatically |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
delete a row
im very good with access but dont know excel that well
where do i put this code in how do i get to the code? -----Original Message----- Public Sub Auto_Open() ActiveSheet.Rows(1).Delete End sub -- Regards, Tom Ogilvy Dan wrote in message ... Is there a way that when i open an excel spreadsheet that it will delete the first row automatically . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
delete a row
Alt+F11 gets you to the visual basic editor. With your workbook as the
activeproject (should be highlighted in the project explorer), Insert=Module from the menu (in the vBE). Put the code in the module. -- Regards, Tom Ogilvy Dan wrote in message ... im very good with access but dont know excel that well where do i put this code in how do i get to the code? -----Original Message----- Public Sub Auto_Open() ActiveSheet.Rows(1).Delete End sub -- Regards, Tom Ogilvy Dan wrote in message ... Is there a way that when i open an excel spreadsheet that it will delete the first row automatically . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
delete the test values, but do not delete the formulas | Excel Discussion (Misc queries) | |||
How to Delete a Range in Closed Workbook (to Replace Delete Query) | Excel Discussion (Misc queries) | |||
How do i delete a macro in Excel 2003 when delete isn't highlight | Excel Discussion (Misc queries) | |||
How to delete rows when List toolbar's "delete" isnt highlighted? | Excel Worksheet Functions |