Hey there
I am working on an application with VBA and excel, so far is everything working fine.
I've got all my code behind one single form.
Since i started to add an additional dialog, i had problems with my object called ws.
i declared in a module:
Public ws as Object
in UserForm_Initialze:
set ws = Worksheets(1)
i want to use object ws everywhere in my project.
Where do i have to "set ws = Worksheets(1)"???
in open workbook event it does not work as well!
any help is greatlty appreciated!
stonee
I am working on an application with VBA and excel, so far is everything working fine.
I've got all my code behind one single form.
Since i started to add an additional dialog, i had problems with my object called ws.
i declared in a module:
Public ws as Object
in UserForm_Initialze:
set ws = Worksheets(1)
i want to use object ws everywhere in my project.
Where do i have to "set ws = Worksheets(1)"???
in open workbook event it does not work as well!
any help is greatlty appreciated!
stonee