VBA code for Submit/Clear Button?

cyrous0425

New Member
Joined
May 30, 2018
Messages
31
Good day guys. I'm trying to create a Data Entry using VBA code. I successfully created the User Form but I am having problem about the code in Submit / Clear button. So, basically I just want to fill up my excel sheet what ever I enter in my user form specifically in COLUMN C, I, J, and K. I know that I can do it by just simply using index/match formula,however, there will be thousand's of data to be entered and scrolling through out the data then entering the new data will be time consuming so I tried to create a macro for it. Sorry for my bad English. Here's my sheet by the way https://drive.google.com/open?id=1obslo7TWRXNkoDmkOFDn2OsSqXbO_nJb. Hope someone can point me to the right direction.


Cy
Thanks
 
By the way Sir, Is there a way to run this macro in a protected workbook?
I tried this code and it's work, however, the column that contains index match functions doesn't work:
Code:
Public Sub AllowMacros()
              Me.ProtectUserInterfaceOnly:True
           End Sub
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
By the way Sir, Is there a way to run this macro in a protected workbook?
I tried this code and it's work, however, the column that contains index match functions doesn't work:
Code:
Public Sub AllowMacros()
              Me.ProtectUserInterfaceOnly:True
           End Sub

Sorry, I don't know the answer. But since it's a different problem you might want to start a new thread.
 
Upvote 0
Ok I will. By the way, every time I add new data my formula in column L become inaccurate. Is there a way to solved it?
 
Upvote 0
Hm, my knowledge of excel formula is very basic, so I can't help you with that.:(
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,372
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top