Hello Forum,
I've come here very often to get answers to my frequent questions, but I rarely post to ask one of my own, but I am really stumped!
I have a userform in which I have a multitude of buttons that looks almost like a small piano keyboard and the information I need to label the button forces me to put the text in sideways. However, sideways text is not allowed in a userform toggle button, and I am too new to be successful with creating my own class I think. (I like ForTran and still struggle with OO code)
To get around the sidways text limitation, I use a BMP file as a picture in the toggle button property on the form designer. This looks GREAT on my computer, but on other computers the BMP file looks like it looses resolution or color depth which causes the buttons to become nearly unreadable.
I believe that I've already scaled the BMP file properly, and it looks OK in MS Paint, but it looks like Excel is taking liberties and either improperly antialiasing my image, or it is rescaling the image slightly - but only on other peoples computer. (It is very frustrating to fix a bug that can't be replicated locally. grrrr.)
Does someone know how to prevent Excel from rescaling a picture on a togglebutton, or perhaps know exactly what size a BMP needs to be relative to its toggle button NOT to be rescaled? (Or does someone know how to put sidewise TT font in a toggle button?)
Thank you for your time!!
I've come here very often to get answers to my frequent questions, but I rarely post to ask one of my own, but I am really stumped!
I have a userform in which I have a multitude of buttons that looks almost like a small piano keyboard and the information I need to label the button forces me to put the text in sideways. However, sideways text is not allowed in a userform toggle button, and I am too new to be successful with creating my own class I think. (I like ForTran and still struggle with OO code)
To get around the sidways text limitation, I use a BMP file as a picture in the toggle button property on the form designer. This looks GREAT on my computer, but on other computers the BMP file looks like it looses resolution or color depth which causes the buttons to become nearly unreadable.
I believe that I've already scaled the BMP file properly, and it looks OK in MS Paint, but it looks like Excel is taking liberties and either improperly antialiasing my image, or it is rescaling the image slightly - but only on other peoples computer. (It is very frustrating to fix a bug that can't be replicated locally. grrrr.)
Does someone know how to prevent Excel from rescaling a picture on a togglebutton, or perhaps know exactly what size a BMP needs to be relative to its toggle button NOT to be rescaled? (Or does someone know how to put sidewise TT font in a toggle button?)
Thank you for your time!!
Last edited: