ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Icon from arrow to Sand hour (https://www.excelbanter.com/excel-programming/397167-icon-arrow-sand-hour.html)

transferxxx

Icon from arrow to Sand hour
 
Sub Auto_Open()
Dim Res As Long
Res = MsgBox("TEST", _
Buttons:=vbYesNo + vbQuestion, _
Title:="")

If Res = vbYes Then Call Inputdate
End Sub

Before I click Yes/No - my icon changes from arrow to sand hour - how can i
prevent this??

Mike H

Icon from arrow to Sand hour
 
Hi,

The code below works fine and doesn't look like the cause of your problem.
Perhaps there is more code executing in the workbook_open event module. have
a look there.

Mike

"transferxxx" wrote:

Sub Auto_Open()
Dim Res As Long
Res = MsgBox("TEST", _
Buttons:=vbYesNo + vbQuestion, _
Title:="")

If Res = vbYes Then Call Inputdate
End Sub

Before I click Yes/No - my icon changes from arrow to sand hour - how can i
prevent this??



All times are GMT +1. The time now is 02:40 PM.

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