Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

OK, but can I at least find the constants that are exported from Win32::OLE::Const?

0
Posted

OK, but can I at least find the constants that are exported from Win32::OLE::Const?

0

Yes, you can use the following code example to view all the constants – you really shouldn’t need this, but if you want to know what’s going on, it might help: use strict; use Win32::OLE; use Win32::OLE::Const; my $xl = Win32::OLE::Const->Load(“Microsoft Excel”); printf “Excel type library contains %d constants:\n”, scalar keys %$xl; foreach my $Key (sort keys %$xl) { print “$Key = $xl->{$Key}\n”; } Generally you should look at the documentation for Win32::OLE::Const.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123