Hello There,
I have 2 workbooks. I would like to have the following:
Workbook 1 is the data stored
Workbook 2 is where the User enters the data. This gets saved in Workbook 1.
When the User clicks the button Save:
1. In the background, it should save the workbook 1, without any prompts or message
I have the below code which saves the workbook 1, but it first displays the workbook 1 and then saves it:
Could you please advise how the above can be achieved?
Thanks & regards,
Don
I have 2 workbooks. I would like to have the following:
Workbook 1 is the data stored
Workbook 2 is where the User enters the data. This gets saved in Workbook 1.
When the User clicks the button Save:
1. In the background, it should save the workbook 1, without any prompts or message
I have the below code which saves the workbook 1, but it first displays the workbook 1 and then saves it:
Code:
option explicit
Public MstWB As Workbook
Public MstDBFileName As String
Sub FileOpen()
Set MstWB = Workbooks.Open(Filename:=MstDBFileName, ReadOnly:=False, Notify:=False)
End Sub
Sub SaveMasterWorkbook ()
MstWB.Save
End Sub
Could you please advise how the above can be achieved?
Thanks & regards,
Don