Chirag R Raval
Member
Dear All,
simply I want to reference sheet by its code name and not its sheet's name
I face below problem when trying to reference sheet by sheet's code name.
but if I reference through index number like sheets(1) its work.
below its screen shots of process
(1)
(2)
(3)
(4)
(5)
Though I uncheck all extra references checked, , juts remaining (unchecked) 4 basic reference, but its not work.
Also request to guide how to expand reference window in VBE to properly view and select / manage reference libraries. (how to make reference window expandable)
Also I try as per below (as per attached screen shot no (6))
But "Run Time Error 429", "Activex Component Can't Create Object" displayed every time.
Hope there are some solution found.
Regards,
Chirag Raval
simply I want to reference sheet by its code name and not its sheet's name
I face below problem when trying to reference sheet by sheet's code name.
but if I reference through index number like sheets(1) its work.
below its screen shots of process
(1)
(2)
(3)
(4)
(5)
Though I uncheck all extra references checked, , juts remaining (unchecked) 4 basic reference, but its not work.
Also request to guide how to expand reference window in VBE to properly view and select / manage reference libraries. (how to make reference window expandable)
Also I try as per below (as per attached screen shot no (6))
Code:
Sub test()
ActiveWorkbook.Sheets(Sheet1).Select
End Sub
But "Run Time Error 429", "Activex Component Can't Create Object" displayed every time.
Hope there are some solution found.
Regards,
Chirag Raval
Last edited: