Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have an Image on a Userform that I want to flag/unflag by changing the border color red/black. (Word97/WIN98) Private Sub Image1_Click() If Image1.BorderColor = RGB(0, 0, 0) Then Image1.BorderColor = RGB(255, 0, 0) TextBox1.Value = "red" Else Image1.BorderColor = RGB(0, 0, 0) TextBox1.Value = "blk" End If DoEvents ' doesn't fix it End Sub The text "red"/"blk" works, but the color doesn't change. "DoEvents" was a feeble try. TIA, Dave ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to fix my spreadsheet from showing formula to showing answer | Excel Discussion (Misc queries) | |||
Insert image by clicking on Usreform Image1 | Excel Programming | |||
Remove Picture from Image1 on a Userform | Excel Programming | |||
Userform problem, bordercolor not changing around images | Excel Programming | |||
Picture show in image1 | Excel Programming |