Skip to content

Instantly share code, notes, and snippets.

@tdalon
Created June 19, 2023 11:48
Show Gist options
  • Save tdalon/0ecac26a1d851218c3b8ddab2cef9d2b to your computer and use it in GitHub Desktop.
Save tdalon/0ecac26a1d851218c3b8ddab2cef9d2b to your computer and use it in GitHub Desktop.
VBA Macros to Add multiple Links to Jira Issues via R4J Excel Add-In
Sub Delete_Hidden_Rows()
Dim myU As Range
Dim myR As Range
Dim R As Range
Set R = ActiveSheet.UsedRange
For Each myR In R.Rows
If myR.Hidden Then
If Not myU Is Nothing Then
Set myU = Union(myU, myR)
Else: Set myU = myR
End If
End If
Next
myU.Delete
ActiveSheet.AutoFilterMode = False
End Sub
@tdalon
Copy link
Author

tdalon commented Jun 19, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment