Dear friends,
i need your help for below;
if E12 is "AAA" then, delete colomn E
thank you
Dear friends,
i need your help for below;
if E12 is "AAA" then, delete colomn E
thank you
Hello turkanet,
Do you really want to DELETE Columns E, or only clear its data?
Happy? Click the * to the left.
Dear myou, i need to delete this colomn
Hello turkanet,
There are many ways to do it. I don't know if you require the following Code, which goes into the Worksheet Code;
![]()
Option Explicit Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Range("E12") = "AAA" Then Columns("E:E").Delete End If End Sub
Hi turkanet,
Another way is to add a Module to your Workbook, with a Button on the appropriate sheet, which you click to delete column E.
Try the attached sample workbook.![]()
Option Explicit Sub Test() If Range("E12") = "AAA" Then Columns("E:E").Delete End If End Sub
Dear myou, thank you very much really.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks