Hi all,
I have a small problem with my user form. One of buttons opens specific workbook - Raport.xlsm. It works fine, but if I click on any cell in Raport file, excel switches back to original workbook in which macro was used. Any way to keep opened workbook activated?
I have a small problem with my user form. One of buttons opens specific workbook - Raport.xlsm. It works fine, but if I click on any cell in Raport file, excel switches back to original workbook in which macro was used. Any way to keep opened workbook activated?
VBA Code:
Private Sub CommandButton1_Click()
Unload Me
Workbooks.Open "C:\Local\Public\Raport.xlsm"
End Sub