|
| ||||||||||
| Tags: macros, matrix |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Delete rows in Excel [VB]
Thank you in advance for your help? |
|
#2
| |||
| |||
| Re: Delete rows in Excel [VB]
Hi, something like this should work: Quote:
Try to make constants from the beginning and that's all. In your case, if you want to go up the column P COLONNE_FIN must apply 16. It is probably not very clean but it works. |
|
#3
| |||
| |||
| Re: Delete rows in Excel [VB]
Hi Here I will suggest some regarding your coding I would add just beginning to code a Application.ScreenUpdating = False then at the end of the code a Application.ScreenUpdating = True You hide what excel, and therefore can save time at the execution. In addition, the line 27 does nothing, or spend time at the execution. Same for lines 36-37, a Rows (line & ":" & row). Delete Shift: = xlUp If after the last is not a great thing (as the previous If only validate a test on the contents of the cell), but it is not the concern, it works. Best regards |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Delete rows in Excel [VB]" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How delete rows between two inputs numbers on Excel? | Hridayeshu | Windows Software | 1 | 04-01-2012 06:56 PM |
| Looking for a Excel Macro to delete rows which doesn’t contain a value in particular cell | Antariksh | Windows Software | 6 | 23-07-2011 01:05 AM |
| Merging duplicate names not rows copy rows into new workbook each time VBA Excel 2003 | awkwardsmile | Software Development | 2 | 09-07-2009 08:57 AM |
| How to delete bottom rows in excel | Dhanajay | Windows Software | 2 | 25-06-2009 12:22 PM |
| Excel macro variable to delete rows | JPGargoyle | Windows Software | 2 | 22-06-2009 11:26 AM |