P
polasnkiman
Version: 2004 Operating System: Mac OS X 10.4 (Tiger) Processor: Power PC Hello Everyone,
I'm working on Excel 2004.
I've created a UserForm in VBA with one TextBox and 2 (two) CommandButtons (Proceed and Cancel). On my spreadsheet, I created a button thanks to the "Form" toolbar.
Now, not really being a VBA literate I would need some detailed help on how to implement the following:
1. Launch the UserForm when I click on the spreadsheet button that I created earlier (the user is then requested to input his data in the Userform's TextBox);
2. Then, when clicking the "Proceed" CommandButton on the Userform I would need the data inputted by the user in the UserForm TextBox to be copied in a specific cell (let's say in cell T11) immediately followed by the execution of a macro that I have already prepared. I would need for clarity purposes that the UserForm be closed as soon as the user cliks the "Proceed" CommandButton.
3. If the user clicks on the "Cancel" CommandButton, the UserForm would need to close and the macro not be run.
Aside from this procedure, since my macro is somehow pretty long, I would also like to incorporate a double progress bar in my macro so that the user is clearly aware that the macro is running.
Any detailed and accurate help would be highly appreciated as I have been turning around the pot on how to implement this with no success. I've really tried to figure it out but have always been limited by my lack of knowledge on how VBA really works and the inherent VBA coding. All I could find on Internet are chunks of codes that do not necessarily apply to my case, and every time I am missing something.
A step-by-step help would really be appreciated. If you need to email me for some reason, please do at: yanomami_grec[at]yahoo.fr
I would like to thank in advance all those that will spend some precious time helping me.
Paul
I'm working on Excel 2004.
I've created a UserForm in VBA with one TextBox and 2 (two) CommandButtons (Proceed and Cancel). On my spreadsheet, I created a button thanks to the "Form" toolbar.
Now, not really being a VBA literate I would need some detailed help on how to implement the following:
1. Launch the UserForm when I click on the spreadsheet button that I created earlier (the user is then requested to input his data in the Userform's TextBox);
2. Then, when clicking the "Proceed" CommandButton on the Userform I would need the data inputted by the user in the UserForm TextBox to be copied in a specific cell (let's say in cell T11) immediately followed by the execution of a macro that I have already prepared. I would need for clarity purposes that the UserForm be closed as soon as the user cliks the "Proceed" CommandButton.
3. If the user clicks on the "Cancel" CommandButton, the UserForm would need to close and the macro not be run.
Aside from this procedure, since my macro is somehow pretty long, I would also like to incorporate a double progress bar in my macro so that the user is clearly aware that the macro is running.
Any detailed and accurate help would be highly appreciated as I have been turning around the pot on how to implement this with no success. I've really tried to figure it out but have always been limited by my lack of knowledge on how VBA really works and the inherent VBA coding. All I could find on Internet are chunks of codes that do not necessarily apply to my case, and every time I am missing something.
A step-by-step help would really be appreciated. If you need to email me for some reason, please do at: yanomami_grec[at]yahoo.fr
I would like to thank in advance all those that will spend some precious time helping me.
Paul