How to create a GUID in Excel?

后端 未结 14 2207
天涯浪人
天涯浪人 2021-01-30 20:16

I need a function to add a GUID to cells in excel. I found this previous question on stackoverflow, but it is not working. It suggests the following function:

=CO         


        
14条回答
  •  深忆病人
    2021-01-30 20:59

    I am using the following function in v.2013 excel vba macro code

    Public Function GetGUID() As String 
        GetGUID = Mid$(CreateObject("Scriptlet.TypeLib").GUID, 2, 36) 
    End Function 
    

提交回复
热议问题