Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Make a Button Blink????

How do i make for instance ButtonA blink for 3 seconds if a certain
result comes up with the click of Button B????
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default Make a Button Blink????

Hi Zach

Give this a try. You will need to create two Command buttons named
Commandbutton1 and Comandbutton2.

Take Care

Marcus

Option Explicit
Private Sub CommandButton1_Click()
Dim i As Integer

Do Until i = 3
Application.Wait (Now + TimeValue("0:00:" & i))
If CommandButton2.BackColor = &H8000000D Then
CommandButton2.BackColor = &H8000000E
ElseIf CommandButton2.BackColor = &H8000000E Then
CommandButton2.BackColor = &H8000000D
End If
i = i + 1

Loop

End Sub
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
make worksheet tab blink? Daniel M Excel Programming 1 November 11th 09 10:05 AM
Can you make a cell blink? raven_guy Excel Worksheet Functions 2 June 8th 05 07:17 PM
Make a cell blink JenML5 Excel Discussion (Misc queries) 1 April 21st 05 03:59 PM
Using VB to make certain field or button blink auto on new data NovicExcel Excel Programming 0 March 9th 05 07:11 PM
Is It Possible To Make A Cell Blink.. darno[_10_] Excel Programming 7 February 21st 04 01:26 PM


All times are GMT +1. The time now is 08:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"