GiraffetheGeek
Board Regular
- Joined
- May 25, 2011
- Messages
- 58
Hi there,
I have a button in a spreadsheet.
What I want is the when the button is pressed it's code is run to a certain point which will open another spreadsheet. I want it to then pause and wait until the other spreadsheet is closed before restaring and completing.
Is this possible?
This is what I have so far
So I want it to run the first line, and then wait until the other spreadsheet is closed before running the last two lines.
Cheers in advance for your help.
I have a button in a spreadsheet.
What I want is the when the button is pressed it's code is run to a certain point which will open another spreadsheet. I want it to then pause and wait until the other spreadsheet is closed before restaring and completing.
Is this possible?
This is what I have so far
Code:
Private Sub Btn_Budgetors_Click()
Workbooks.Open Filename:= "file.xls"
MsgBox ("Remember to update Service Plan")
ActiveWorkbook.Save
End Sub
So I want it to run the first line, and then wait until the other spreadsheet is closed before running the last two lines.
Cheers in advance for your help.