Created
June 2, 2014 14:01
-
-
Save boldfacedesign/163ed30c4a096fdd0d00 to your computer and use it in GitHub Desktop.
Excel Macro - Fill blank cells with GUID (VBA)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub fillBlankGUIDs() | |
For Each c In Selection | |
If IsEmpty(c.Value) Then c.Value = Mid$(CreateObject("Scriptlet.TypeLib").GUID, 2, 36) | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment