blinking/flashing objects

A

Alberto Ast

Are you familiar with this code? it works but it is making conflict with
anotehr code I already have on This Worksheet View code

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cancel = Not blnClose
End Sub

Do you know how can I fix this conflict... Chip P routine has on same view
code as follows

Private Sub Workbook_Open()
StartBlink
End Sub

Private Sub Workbook_BeforeClose(Cancel As Boolean)
StopBlink
End Sub

which cause conflict.
 
J

Jacob Skaria

Hi Alberto

Try the below...

Private Sub Workbook_Open()
StartBlink
End Sub

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cancel = Not blnClose
If Cancel = False then StopBlink
End Sub

If this post helps click Yes
 
A

Alberto Ast

Thanks... I think I am complicating my file too much for now... I will leave
it without the blink... I rather validate the closing.... I might try
later... your subtutine did not work for me now... I will prepare it later to
put it on the web to see if you can help me further.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top