I'm writing some Excel chart-generation macros in Perl, and hit a new snag. I did the chart-building I want in Excel with macro-recording turned on, and discovered that some constants I need to use are xlBlah constants, and some others are msoBlah constants.
- I can't figure what string to use in my use statement to get the mso constants in my namespace. use Win32::OLE::Const 'Microsoft Excel' gets me the xl constants, but I can't find a string that works for the mso constants. (I've started browsing on this point, and I suspect I can find these all by myself.)
- How on earth am I going to import two sets of constants into my namespace? The docs I read on Win32::OLE::Const don't say I can ask for a list of exported constants, and I can only use a given library once... am I missing something, or am I stuck?