Skip to content

Instantly share code, notes, and snippets.

@mhajder
Created February 4, 2018 11:21
Show Gist options
  • Save mhajder/c308062d68798ed94e43a94cbcabf920 to your computer and use it in GitHub Desktop.
Save mhajder/c308062d68798ed94e43a94cbcabf920 to your computer and use it in GitHub Desktop.
Excel
Attribute VB_Name = "MałeLitery"
Sub MałeLitery()
For Each Cell In Selection
If Not Cell.HasFormula Then
Cell.Value = _
Application _
.WorksheetFunction _
.Proper(Cell.Value)
End If
Next Cell
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment