vba - Userform worksheet_open does not work -


private sub workbook_open() userform2.show end sub 

very simple vba code. how come userform2 not opening when workbook gets opened?

put workbook_open() sub in thisworkbook module, @rich holton said.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -