That works well Paul. I was told it wouldn't work in 64 bit Office but it does. I suspect they had the declaration incorrect!
As declared it will not run in 2007 or earlier.
Option Explicit #If VBA7 Then Declare PtrSafe Function CoCreateGuid Lib "OLE32.DLL" (pGuid As GUID) As LongPtr #Else Declare Function CoCreateGuid Lib "OLE32.DLL" (pGuid As GUID) As Long #End If Private Type GUID Data1 As Long Data2 As Integer Data3 As Integer Data4(0 To 7) As Byte End Type