Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting content after the last data value in VB or Macro.
I would like to something using macro but really I don't know how. This is
something I like to do In a data containing worksheet, 1- finding the last cell which has value or text in A1 column in worksheet-A 2- Then delete the rest of the rows thereafter this row number Something like below. Any help will be appreciated greatly. Thanks Sub content_del() $A = Find the last entered value at A1 column then delete rest of the rows below this number. Range("???:A1400").Select Selection.EntireRow.Delete End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Macro for taking data external data and populating it on a sheet and deleting unwanted data | Excel Programming | |||
Deleting Cell Content | Excel Programming | |||
Deleting content | Excel Worksheet Functions | |||
Deleting content in a column | Excel Worksheet Functions | |||
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content | Excel Programming |