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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -