J
jamieuk
Has anyone managed to get the code from the following KB article to
run in Excel VBA?
HOWTO: Create a Transparent Picture For Office CommandBar Buttons
http://support.microsoft.com/default.aspx?kbid=288771
The code is for Visual Basic 6.0 so it will require some leverage to
get it to run in VBA. I tried doing so by replacing some vb
enumerations with their numerical equivalents, using Stephen Bullen's
PastePicture code to create a StdPicture object using the clipboard
contents and employed the CopyImage API to do the opposite. But my
button images still have their magenta backgrounds i.e. had not been
made transparent.
Has anyone already got this code to run in VBA?
Many thanks.
run in Excel VBA?
HOWTO: Create a Transparent Picture For Office CommandBar Buttons
http://support.microsoft.com/default.aspx?kbid=288771
The code is for Visual Basic 6.0 so it will require some leverage to
get it to run in VBA. I tried doing so by replacing some vb
enumerations with their numerical equivalents, using Stephen Bullen's
PastePicture code to create a StdPicture object using the clipboard
contents and employed the CopyImage API to do the opposite. But my
button images still have their magenta backgrounds i.e. had not been
made transparent.
Has anyone already got this code to run in VBA?
Many thanks.