Hi all I was just doing some final testing on a workbook I've been working on and stumbled across a problem that I have no idea on. My VB knowledge is very basic and I don't know where to look in the code to resolve the issue which is:
I have a worksheet called 'Home', on the sheet I have some buttons to open a Userform containing a button called 'Add New' which unloads this Userform and opens another one called 'New' - all works ok so far.
I fill in the required boxes on the 'New' form and once completed I then have a message box to ask if I want to open another form 'Details' if I select yes the 'Details' from opens and the 'New' form is hidden, if I select No the data is written to the relevent worksheet .
The problem I'm having is I need the data that is entered on the 'New' form transferred over to the 'Details' form which it does but ONLY if I open the form from within the VBA window, If I start the process by clicking the button on the 'Home' worksheet the data doesn't get transferred over to the 'Details' form.
Hopefully what I've written makes sense and someone could point me in the right direction on where to look in the code to fix this. I've tried to keep it a simple post by not posting any of my code but more than happy to if it would help in finding a solution.
Many thanks Paul
I have a worksheet called 'Home', on the sheet I have some buttons to open a Userform containing a button called 'Add New' which unloads this Userform and opens another one called 'New' - all works ok so far.
I fill in the required boxes on the 'New' form and once completed I then have a message box to ask if I want to open another form 'Details' if I select yes the 'Details' from opens and the 'New' form is hidden, if I select No the data is written to the relevent worksheet .
The problem I'm having is I need the data that is entered on the 'New' form transferred over to the 'Details' form which it does but ONLY if I open the form from within the VBA window, If I start the process by clicking the button on the 'Home' worksheet the data doesn't get transferred over to the 'Details' form.
Hopefully what I've written makes sense and someone could point me in the right direction on where to look in the code to fix this. I've tried to keep it a simple post by not posting any of my code but more than happy to if it would help in finding a solution.
Many thanks Paul