Add/Delete optional personal form in VBA
What is simplest/best way to achieve functionality in vba in Excel:
- button "add person" which will add 4 rows in which user specifies name..., also " - button "delete person" appearing in new added entry - to delete itWhat is a workflow for doing that?
Should I record that first? Should I write VBA only? How t开发者_开发技巧o keep the part that can be added/deleted - somewhere hidden or in VBA?
well the simplest solution is to create macros;
to add person after that, you need to assign this macro to the button with vba ( by right click and assign macro).and loop it 4 times.
to delete person -->1st you make the button and set the visibility to false. After that you need to identify the row number, and set the button to visible in vba
精彩评论