ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   "Less than or equal to" symbol in a UserForm (https://www.excelbanter.com/excel-programming/271166-less-than-equal-symbol-userform.html)

RockNRoll

"Less than or equal to" symbol in a UserForm
 
Dear VBA gurus,

I am creating a userform that allows users to enter in constraints for
linear programming problems.

I want to have the "Less than or equal to" symbol on my form. I do not just
want to put "<=", I would like the actual symbol in a label. It is unicode
character 2264.

How do I get that symbol into my userform? Thank you kindly.



Tom Ogilvy

"Less than or equal to" symbol in a UserForm
 
Private Sub UserForm_Initialize()
Label1.Font.Name = "Arial Unicode MS"
Label1.Font.Size = 10
Label1.Caption = "ABC " & ChrW(&H2264) & " CDF"
End Sub

2264 is hex value.

Regards,
Tom Ogilvy


"RockNRoll" wrote in message
...
Dear VBA gurus,

I am creating a userform that allows users to enter in constraints for
linear programming problems.

I want to have the "Less than or equal to" symbol on my form. I do not

just
want to put "<=", I would like the actual symbol in a label. It is

unicode
character 2264.

How do I get that symbol into my userform? Thank you kindly.





Phil Hageman

"Less than or equal to" symbol in a UserForm
 
Have you tried the equation editor in Word? Copy/Paste
-----Original Message-----
Dear VBA gurus,

I am creating a userform that allows users to enter in

constraints for
linear programming problems.

I want to have the "Less than or equal to" symbol on my

form. I do not just
want to put "<=", I would like the actual symbol in a

label. It is unicode
character 2264.

How do I get that symbol into my userform? Thank you

kindly.


.


Pierre Archambault

"Less than or equal to" symbol in a UserForm
 
Use the Character Map utility to select and copy the character. Then paste
it in the label itself not in the property box.
Select the font you need and it's al done.



"RockNRoll" a écrit dans le message de
...
Dear VBA gurus,

I am creating a userform that allows users to enter in constraints for
linear programming problems.

I want to have the "Less than or equal to" symbol on my form. I do not

just
want to put "<=", I would like the actual symbol in a label. It is

unicode
character 2264.

How do I get that symbol into my userform? Thank you kindly.





RockNRoll

"Less than or equal to" symbol in a UserForm
 
Wow, so many options!!! Thank you everybody.

"RockNRoll" wrote in message
...
Dear VBA gurus,

I am creating a userform that allows users to enter in constraints for
linear programming problems.

I want to have the "Less than or equal to" symbol on my form. I do not

just
want to put "<=", I would like the actual symbol in a label. It is

unicode
character 2264.

How do I get that symbol into my userform? Thank you kindly.






All times are GMT +1. The time now is 03:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com