Skip to content

Instantly share code, notes, and snippets.

View civa86's full-sized avatar
๐Ÿ™
lazy loading

Dario Civallero civa86

๐Ÿ™
lazy loading
View GitHub Profile
@civa86
civa86 / excel.md
Last active March 18, 2026 08:40
Utils

Columns Auto Fit

Right click on the sheet tab (left bottom of the window) -> View Code.

Enter the following VBA Script:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  Cells.EntireColumn.AutoFit
End Sub
@civa86
civa86 / git.sh
Created January 18, 2022 13:33
Git
# Delete remote branch
git push origin --delete <branch>