How can I generate GUIDs in Excel?

前端 未结 11 1016
别那么骄傲
别那么骄傲 2020-11-27 14:58

I have an excel file with one order on each row, and I want each order to have a unique identifier, so there will be a Unique ID column. Every time I fill a row, I want Exce

11条回答
  •  旧巷少年郎
    2020-11-27 16:04

    I used the following function in v.2013 excel vba to create a GUID and is working well..

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

提交回复
热议问题