When you start the userform the workbook is open. So what i did was close the file when the userform pops up.
Like this:
Then my idea was to open the file everytime someon pushes a button. For instance the OK button. Then what i want it to do is , open it do whatever is asked ( eg : match number in column with combobox value then put value there ) How i thought of opening it like this:
And exactly the same for the OK button.
But now i get an error:
Runtime error '91'
Object variable or with block variable not set
Any suggestions what migth cause the problem?
Yours , Steven
Bookmarks