Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I did some searching through prior posts at this site and also looked through Help in VBA within Excel but wasn't able to find what I need - which is I'm looking to have a message window popup when a button is clicked on that is then brought down by the code just after the code execution completes. Below is what I was hoping to build on -- thanks in advance for any help you can provide! Private Sub CommandButton2_Click() Application.ScreenUpdating = False MsgBox "Please wait while code executes. This message will " & vbNewLine & _ "automatically close when execution has completed." Rows("1:1").RowHeight = 60 With Sheets("Transaction Summary") If .FilterMode = True Then .ShowAllData Else End If End With With Sheets("Open Transactions by Member ID") If .FilterMode = True Then .ShowAllData Else End If End With With Sheets("Member ID Report Master") If Len(.Range("D2")) < 0 Then Module1.closedtrans1 Module2.clearmemidtrans Else MsgBox "Sales (Member ID Report) transaction data has not yet been submitted -" & vbNewLine & _ "Sales data must be first submitted prior to requesting to see open" & vbNewLine & _ "transactions." End If End With With Sheets("Transaction Summary") If .FilterMode < True Then .Rows("1:1").AutoFilter Else End If End With With Sheets("Open Transactions by Member ID") If .FilterMode < True Then .Rows("1:1").AutoFilter Else End If End With Application.ScreenUpdating = True -- Robert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code Execution Message | Excel Discussion (Misc queries) | |||
Stop window saying code execution interrupted at startup? | Excel Discussion (Misc queries) | |||
disable message box during VBA code execution | Excel Programming | |||
Code Execution has been interrupted message | Excel Programming |