Run all vba at once after opening excel file
Closed
eunice3301
Posts
10
Registration date
Thursday 27 July 2017
Status
Member
Last seen
29 August 2017
-
31 Jul 2017 à 03:40
eunice3301 Posts 10 Registration date Thursday 27 July 2017 Status Member Last seen 29 August 2017 - 1 Aug 2017 à 00:58
eunice3301 Posts 10 Registration date Thursday 27 July 2017 Status Member Last seen 29 August 2017 - 1 Aug 2017 à 00:58
Related:
- Run all vba at once after opening excel file
- Excel vba find - Guide
- How to open vba in excel - Guide
- Windows 10 iso file download 64-bit - Download - Windows
- Excel mod apk for pc - Download - Spreadsheets
- How to open .ps file - Guide
2 responses
You wold have to run a master procedure, and call of them upon, Workbook_Open() event.
So, in others words, if you have a module, that contains 5 subroutines, you would need to do the following:
private sub mastersub()
call subone
call subtwo
call subthree
call subfour
call subfive
end sub
private sub Workbook_Open()
call mastersub
end sub
So, in others words, if you have a module, that contains 5 subroutines, you would need to do the following:
private sub mastersub()
call subone
call subtwo
call subthree
call subfour
call subfive
end sub
private sub Workbook_Open()
call mastersub
end sub
eunice3301
Posts
10
Registration date
Thursday 27 July 2017
Status
Member
Last seen
29 August 2017
1 Aug 2017 à 00:58
1 Aug 2017 à 00:58
Thank you so much mark. I also tried this
Private Sub Auto_Open()
Run ("Sheet3.Auto_Open")
Run ("Sheet5.Auto_Open")
Run ("Sheet6.Auto_Open")
End Sub
and it works.
I will try your suggestion. Thank you so much for the help=)
Private Sub Auto_Open()
Run ("Sheet3.Auto_Open")
Run ("Sheet5.Auto_Open")
Run ("Sheet6.Auto_Open")
End Sub
and it works.
I will try your suggestion. Thank you so much for the help=)