This will delete row numbers m to n passed through the function
Sub Delete_Multiple_Rows (m as Integer, n as Integer)
Rows(m & ":" & n).EntireRow.Delete
End Sub
More Related Contents:
- Sequence of numbers based on start and end value of 2 cells [closed]
- Function to convert column number to letter?
- Better way to find last used row
- 2 Dimensional array from range [closed]
- How can I create a calendar input in VBA Excel?
- Using Google Chrome in Selenium VBA (Installation Steps)
- Dir() function not working in Mac Excel 2011 VBA
- How to use workbook.saveas with automatic Overwrite
- Range limit conundrum
- How do you run a .exe with parameters using vba’s shell()?
- How to determine the last Row used in VBA including blank spaces in between [duplicate]
- How to use FindWindow to find a visible or invisible window with a partial name in VBA
- How do you get a Range to return its Name?
- Passing variable from Form to Module in VBA
- How to give a time delay of less than one second in excel vba?
- Changing the date format to yyyy-mm-dd
- Referencing Excel Userform Control Name Value From String (VBA)
- Loop through each row of a range in Excel
- Fill formula down till last row in column
- Outputting Excel rows to a series of text files
- How to create a range from two ranges in VBA?
- XML parse VBA excel (function trip, & MSXML2.DOMDocument)
- If string contains word from list, return value adjacent to list value
- Refreshing all the pivot tables in my excel workbook with a macro
- Countif With Multiple OR Criteria
- excel vba freeze pane without select
- Converting a string representation of a constant into a constant?
- VBA WinHTTP to download file from password proteced https website
- How to protect Excel workbook using VBA?
- How to get the range of the visible rows after applying an advanced filter in Excel (VBA)