No customicon to vba macro button

No customicon to vba macro button

b.graaf
Advocate Advocate
1,204 Views
2 Replies
Message 1 of 3

No customicon to vba macro button

b.graaf
Advocate
Advocate

I have made an iLogic rule and through the VBA editor I have attached it to a button in the Inventor ribbon.

It does work, so if I hit the button, the iLogic rule is fired.

 

But I do not succeed in getting my own icon to the button. Inthe past, I have tried it several times, but till today with no success....

 

I am trying this with Inventor 2020, but in the past i have tried it with other versions as well...

 

My module name: Export

The Macro name: Export3

icon names:

   Export.Export3.Small.bmp (= 16x16 bmp)

   Export.Export3.Large.bmp (=32x32 bmp)

 

These bmp files have been saved in:

C:\Users\Public\Documents\Autodesk\Inventor 2020\Macros

 

This is the same folder as defined for the location of the default vba project.

 

Pleas see also attached images.

 

Accepted solutions (1)
1,205 Views
2 Replies
Replies (2)
Message 2 of 3

b.graaf
Advocate
Advocate
Accepted solution

Well, for some strange reasons it has beensolved.... I only resavewd one of the images and now they appear....

 

It seems this picture was corrupt in some way.

0 Likes
Message 3 of 3

sam
Advocate
Advocate

@b.graaf Thank you. This was really helpful. 

0 Likes