Picture and toggle button

dave8

Active Member
Joined
Jul 8, 2007
Messages
275
I want to use a toggle button with an up and down arrow as picture. I want to display the up arrow when the toggle is true and down arrow when toggle is false. My up and down arrows are .bmp files sitting on my c:\ . So to reference the arrow buttons, I would have to change the Toggle_Button.Picture = "c:\up_arrow.bmp" property, whether true or false, correct? But if I transport my workbook to another computer, do I also need to copy the .bmp files over to the new computer in order for this to work??
 
It doesn't work. In fact, if you create another toggle button (togglebutton2) in the file test file you sent me, and click between the toggle buttons, you will get the same error. Click between togglebutton1 and togglebutton2 several times and try to save the file.

How to attach a file here? I can't find where to attach file.
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
It doesn't work. In fact, if you create another toggle button (togglebutton2) in the file test file you sent me, and click between the toggle buttons, you will get the same error. Click between togglebutton1 and togglebutton2 several times and try to save the file.

I added a second Toggle button but still i couldn't reproduce the problem.

I wish someone would shed a light as to why changing the Font only works at design time and not at runtime. That would certainly be an easier and more stable solution. ( I refer to the post #8 )

How to attach a file here? I can't find where to attach file.
I use Box.net... needs registration but it is free.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,264
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top