Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting entire row
The following code will delete an entire row:
Target.EntireRow.Delete Just curious, but if I do NOT have a "Target" or "Range" variable, is it possible to delete an entire row using only that row's numerical index? For example, suppose I want to delete the entire Row #5. How do I do that? thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting entire row
Robert Crandal wrote:
The following code will delete an entire row: Target.EntireRow.Delete Just curious, but if I do NOT have a "Target" or "Range" variable, is it possible to delete an entire row using only that row's numerical index? For example, suppose I want to delete the entire Row #5. How do I do that? thanks. rows(5).delete ? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting entire row
"witek" wrote
rows(5).delete ? Okay, I will give that a try. I'm sure it will work. I was just overthinking this too much because I was thinking that I neded to convert the numerical row index into a "range" variable and then call the EntireRow.Delete function. thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting entire row
Robert Crandal wrote:
"witek" wrote rows(5).delete ? Okay, I will give that a try. I'm sure it will work. I was just overthinking this too much because I was thinking that I neded to convert the numerical row index into a "range" variable and then call the EntireRow.Delete function. thanks everything which gives single row as output will work |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Deleting entire row | Excel Programming | |||
Move entire row to another sheet and deleting the old row only. | Excel Worksheet Functions | |||
deleting an entire row if the cell in col A is empty | Excel Programming | |||
Code for deleting entire row | Excel Programming | |||
Deleting entire rows | Excel Programming |