csababenyi
New Member
- Joined
- Nov 17, 2020
- Messages
- 15
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
- Web
Hi Guys, I have an excel speradsheet with 22 coulunms and about 1000 rows and growing with lots of macros in it.
There is an ADD command button on the main sheet that opens up a VBA scripted table that have drop downs to select data to add to the next row with another ADD DATA button in it. This will not close the VBA table have to X out the window and back to the sheet. when done adding data.
Have 8 users working on this document. I need to stop the users manual input in the sheet except with the ADD button and dropdowns. Everything works well so far.
Password protected the sheet and ADD button opens up the VBA table but the Add Data inside casuses an Run-time error '1004' most likely due to the password protection. I'd also like the second ADD DATA button close the table and back to the sheet.
Debug highlights this
code sh.Range("B" & Last_Row + 1).Value = Me.TextBox12
Hopefully the description undestandable, any insight or help would be greatly appriciated.
Thank you.
There is an ADD command button on the main sheet that opens up a VBA scripted table that have drop downs to select data to add to the next row with another ADD DATA button in it. This will not close the VBA table have to X out the window and back to the sheet. when done adding data.
Have 8 users working on this document. I need to stop the users manual input in the sheet except with the ADD button and dropdowns. Everything works well so far.
Password protected the sheet and ADD button opens up the VBA table but the Add Data inside casuses an Run-time error '1004' most likely due to the password protection. I'd also like the second ADD DATA button close the table and back to the sheet.
Debug highlights this
code sh.Range("B" & Last_Row + 1).Value = Me.TextBox12
Hopefully the description undestandable, any insight or help would be greatly appriciated.
Thank you.