The value is going to be in the registry.
I have just looked in mine, and one problem is that there are many versions
of Office and you need to look at all possibilities.
To further complicate it, I have Excel 97, 2000 and 2002 on my machine. And
worse, under Office 10, I have 3 GUIDs each with a different product-id.
I cannot see an easy way to determine which to out-select.
--
HTH
Bob Phillips
"ExcelMonkey" <ExcelMonkey@discussions.microsoft.com> wrote in message
news:738C4622-F161-4C96-930C-7C4A65049ADD@microsoft.com...
> I want to check and see if the computer that is running a macro is in fact
a
> computer with a copy of Excel registered to my firm. How do you extract
the
> Excel License from Excel. I want to pass the license to a variable. For
> Example, if the Excel on my computer is licensed to
>
> ExcelMonkey
> ABC Co
> Prodcut ID: 1234124-21341243-1431243
>
> I want to extract and pass "ABC Co" to a variable.
>
> Thanks
Bookmarks