A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
$sheet.usedrange.autofilter(2,"fe80*",1)
$sheet.usedrange.specialcells(12).EntireRow.delete
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm processing IPv4 list using PowerShell in Excel. I can filter all IPv6 via autofilter method, but how can I delete these rows?
Using below method, I got the result that contain all rows I don't need.
$sheet.usedrange.autofilter(2,"fe80*",1)
Can anybody help on this?
Thanks,
Michael
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
$sheet.usedrange.autofilter(2,"fe80*",1)
$sheet.usedrange.specialcells(12).EntireRow.delete
Hi, Asadulla Javed:
Many thanks. It's working.
BR,