Create a repository; user input data from input box and data is saved in the other sheetMacro to copy data from one sheet to another based on the current dateCopy rows of data from one sheet to another, where the destination sheets are named by datesCopy and sort data from one sheet to another, based on cell valuesGet data from multiple sheets in a selected workbookcopying data from one sheet to different sheets with different criteriaUsing a Date Range with an Input Box and Selecting Data to Copy and PasteExcel Macro to give Input Box, Create New Sheet, Copy Data from Original Sheet into New SheetInsert Row based on user input in multiple sheetsAdding a cell value into multiple sheets with input boxHow do I use a date reference on 1 sheet to use as a place to paste data on multiple other sheets but copied on same sheet as to be pasted
Mathematica command that allows it to read my intentions
Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?
What is the opposite of "eschatology"?
What historical events would have to change in order to make 19th century "steampunk" technology possible?
Is there an online compendium of Rav Moshe teshuvos in English that exists?
How can a day be of 24 hours?
Knowledge-based authentication using Domain-driven Design in C#
meaning of 腰を落としている
Why was Sir Cadogan fired?
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
Description list Formatting using enumitem
Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?
How much mains leakage does an Ethernet connection to a PC induce, and what is the operating leakage path?
Different meanings of こわい
How seriously should I take size and weight limits of hand luggage?
How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?
Using "tail" to follow a file without displaying the most recent lines
Am I breaking OOP practice with this architecture?
Should I tell management that I intend to leave due to bad software development practices?
Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?
ssTTsSTtRrriinInnnnNNNIiinngg
Ambiguity in the definition of entropy
What is a Samsaran Word™?
Getting extremely large arrows with tikzcd
Create a repository; user input data from input box and data is saved in the other sheet
Macro to copy data from one sheet to another based on the current dateCopy rows of data from one sheet to another, where the destination sheets are named by datesCopy and sort data from one sheet to another, based on cell valuesGet data from multiple sheets in a selected workbookcopying data from one sheet to different sheets with different criteriaUsing a Date Range with an Input Box and Selecting Data to Copy and PasteExcel Macro to give Input Box, Create New Sheet, Copy Data from Original Sheet into New SheetInsert Row based on user input in multiple sheetsAdding a cell value into multiple sheets with input boxHow do I use a date reference on 1 sheet to use as a place to paste data on multiple other sheets but copied on same sheet as to be pasted
I need to create an input box wherein I have the multiple input boxes to input multiple information. They are:
-Enter Dealer Name
-Enter Dealer Number
-VPR level
-Pack Level
-Install Date
-Action
-Review Date
-Loss Ratio
And once the user enters all the information and clicks on Submit button, the information gets copied to a different sheet and acts as a repository. And when multiple data are entered, the data gets copied to the repository sheet from the next available blank row onward.
I need Macro for this, can anyone help me how to do it
excel
add a comment |
I need to create an input box wherein I have the multiple input boxes to input multiple information. They are:
-Enter Dealer Name
-Enter Dealer Number
-VPR level
-Pack Level
-Install Date
-Action
-Review Date
-Loss Ratio
And once the user enters all the information and clicks on Submit button, the information gets copied to a different sheet and acts as a repository. And when multiple data are entered, the data gets copied to the repository sheet from the next available blank row onward.
I need Macro for this, can anyone help me how to do it
excel
add a comment |
I need to create an input box wherein I have the multiple input boxes to input multiple information. They are:
-Enter Dealer Name
-Enter Dealer Number
-VPR level
-Pack Level
-Install Date
-Action
-Review Date
-Loss Ratio
And once the user enters all the information and clicks on Submit button, the information gets copied to a different sheet and acts as a repository. And when multiple data are entered, the data gets copied to the repository sheet from the next available blank row onward.
I need Macro for this, can anyone help me how to do it
excel
I need to create an input box wherein I have the multiple input boxes to input multiple information. They are:
-Enter Dealer Name
-Enter Dealer Number
-VPR level
-Pack Level
-Install Date
-Action
-Review Date
-Loss Ratio
And once the user enters all the information and clicks on Submit button, the information gets copied to a different sheet and acts as a repository. And when multiple data are entered, the data gets copied to the repository sheet from the next available blank row onward.
I need Macro for this, can anyone help me how to do it
excel
excel
asked Mar 8 at 20:57
SaagarSaagar
61
61
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You will have to rename the controls to conform to what is in the code.
The code below is in ther userform.
I hope it helps.
Private Sub cmdConfirmEntry_Click()
Dim iNumNonEmpty, iRowNumCurr, iColNumCurr As Integer
Worksheets("test entries").Activate
With ActiveSheet
Range("A1").Select
iColNumCurr = Range("A1").Column
iRowNumCurr = Range("A1").Row
iNumNonEmpty = Range("A1:A10000").Cells.SpecialCells(xlCellTypeConstants).Count
Cells(iRowNumCurr + iNumNonEmpty, iColNumCurr).Activate
Cells(ActiveCell.Row, iColNumCurr) = Me.txtDealerName.Value
Cells(ActiveCell.Row, iColNumCurr + 1) = Me.txtDealerNumber.Value
Cells(ActiveCell.Row, iColNumCurr + 2) = Me.txtVPRLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 3) = Me.txtPacLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 4) = Me.txtInstallDate.Value
Cells(ActiveCell.Row, iColNumCurr + 5) = Me.txtAction.Value
Cells(ActiveCell.Row, iColNumCurr + 6) = Me.txtReviewDate.Value
Cells(ActiveCell.Row, iColNumCurr + 7) = Me.txtLoasRation.Value
End Sub
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
add a comment |
I would avoid using Activate
and Select
. This may be what you are looking for, but you will need to adjust things like the Sheet Name and so on..
Private Sub OK_Click()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Cells(Worksheets("Sheet1").Rows.Count, 1).End(xlUp).Row + 1
Cells(LastRow, 1).Value = UserForm1.TextBox1.Value
Cells(LastRow, 2).Value = UserForm1.TextBox2.Value
Cells(LastRow, 3).Value = UserForm1.TextBox3.Value
Cells(LastRow, 4).Value = UserForm1.TextBox4.Value
Cells(LastRow, 5).Value = UserForm1.TextBox5.Value
Cells(LastRow, 6).Value = UserForm1.TextBox6.Value
Unload Me
End Sub
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in theCommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.
– Zack E
Mar 11 at 16:49
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070892%2fcreate-a-repository-user-input-data-from-input-box-and-data-is-saved-in-the-oth%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You will have to rename the controls to conform to what is in the code.
The code below is in ther userform.
I hope it helps.
Private Sub cmdConfirmEntry_Click()
Dim iNumNonEmpty, iRowNumCurr, iColNumCurr As Integer
Worksheets("test entries").Activate
With ActiveSheet
Range("A1").Select
iColNumCurr = Range("A1").Column
iRowNumCurr = Range("A1").Row
iNumNonEmpty = Range("A1:A10000").Cells.SpecialCells(xlCellTypeConstants).Count
Cells(iRowNumCurr + iNumNonEmpty, iColNumCurr).Activate
Cells(ActiveCell.Row, iColNumCurr) = Me.txtDealerName.Value
Cells(ActiveCell.Row, iColNumCurr + 1) = Me.txtDealerNumber.Value
Cells(ActiveCell.Row, iColNumCurr + 2) = Me.txtVPRLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 3) = Me.txtPacLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 4) = Me.txtInstallDate.Value
Cells(ActiveCell.Row, iColNumCurr + 5) = Me.txtAction.Value
Cells(ActiveCell.Row, iColNumCurr + 6) = Me.txtReviewDate.Value
Cells(ActiveCell.Row, iColNumCurr + 7) = Me.txtLoasRation.Value
End Sub
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
add a comment |
You will have to rename the controls to conform to what is in the code.
The code below is in ther userform.
I hope it helps.
Private Sub cmdConfirmEntry_Click()
Dim iNumNonEmpty, iRowNumCurr, iColNumCurr As Integer
Worksheets("test entries").Activate
With ActiveSheet
Range("A1").Select
iColNumCurr = Range("A1").Column
iRowNumCurr = Range("A1").Row
iNumNonEmpty = Range("A1:A10000").Cells.SpecialCells(xlCellTypeConstants).Count
Cells(iRowNumCurr + iNumNonEmpty, iColNumCurr).Activate
Cells(ActiveCell.Row, iColNumCurr) = Me.txtDealerName.Value
Cells(ActiveCell.Row, iColNumCurr + 1) = Me.txtDealerNumber.Value
Cells(ActiveCell.Row, iColNumCurr + 2) = Me.txtVPRLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 3) = Me.txtPacLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 4) = Me.txtInstallDate.Value
Cells(ActiveCell.Row, iColNumCurr + 5) = Me.txtAction.Value
Cells(ActiveCell.Row, iColNumCurr + 6) = Me.txtReviewDate.Value
Cells(ActiveCell.Row, iColNumCurr + 7) = Me.txtLoasRation.Value
End Sub
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
add a comment |
You will have to rename the controls to conform to what is in the code.
The code below is in ther userform.
I hope it helps.
Private Sub cmdConfirmEntry_Click()
Dim iNumNonEmpty, iRowNumCurr, iColNumCurr As Integer
Worksheets("test entries").Activate
With ActiveSheet
Range("A1").Select
iColNumCurr = Range("A1").Column
iRowNumCurr = Range("A1").Row
iNumNonEmpty = Range("A1:A10000").Cells.SpecialCells(xlCellTypeConstants).Count
Cells(iRowNumCurr + iNumNonEmpty, iColNumCurr).Activate
Cells(ActiveCell.Row, iColNumCurr) = Me.txtDealerName.Value
Cells(ActiveCell.Row, iColNumCurr + 1) = Me.txtDealerNumber.Value
Cells(ActiveCell.Row, iColNumCurr + 2) = Me.txtVPRLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 3) = Me.txtPacLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 4) = Me.txtInstallDate.Value
Cells(ActiveCell.Row, iColNumCurr + 5) = Me.txtAction.Value
Cells(ActiveCell.Row, iColNumCurr + 6) = Me.txtReviewDate.Value
Cells(ActiveCell.Row, iColNumCurr + 7) = Me.txtLoasRation.Value
End Sub
You will have to rename the controls to conform to what is in the code.
The code below is in ther userform.
I hope it helps.
Private Sub cmdConfirmEntry_Click()
Dim iNumNonEmpty, iRowNumCurr, iColNumCurr As Integer
Worksheets("test entries").Activate
With ActiveSheet
Range("A1").Select
iColNumCurr = Range("A1").Column
iRowNumCurr = Range("A1").Row
iNumNonEmpty = Range("A1:A10000").Cells.SpecialCells(xlCellTypeConstants).Count
Cells(iRowNumCurr + iNumNonEmpty, iColNumCurr).Activate
Cells(ActiveCell.Row, iColNumCurr) = Me.txtDealerName.Value
Cells(ActiveCell.Row, iColNumCurr + 1) = Me.txtDealerNumber.Value
Cells(ActiveCell.Row, iColNumCurr + 2) = Me.txtVPRLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 3) = Me.txtPacLevel.Value
Cells(ActiveCell.Row, iColNumCurr + 4) = Me.txtInstallDate.Value
Cells(ActiveCell.Row, iColNumCurr + 5) = Me.txtAction.Value
Cells(ActiveCell.Row, iColNumCurr + 6) = Me.txtReviewDate.Value
Cells(ActiveCell.Row, iColNumCurr + 7) = Me.txtLoasRation.Value
End Sub
answered Mar 8 at 21:22
Lunalo JohnLunalo John
170210
170210
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
add a comment |
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
Why am I getting ME error while trying to run this code?
– Saagar
Mar 10 at 2:52
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
All the controls in my case are sitting on the userform. So this sub is behind the userform. In my case, "me" refers to userform as the parent object.
– Lunalo John
Mar 10 at 4:44
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
How about Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 11 at 2:10
add a comment |
I would avoid using Activate
and Select
. This may be what you are looking for, but you will need to adjust things like the Sheet Name and so on..
Private Sub OK_Click()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Cells(Worksheets("Sheet1").Rows.Count, 1).End(xlUp).Row + 1
Cells(LastRow, 1).Value = UserForm1.TextBox1.Value
Cells(LastRow, 2).Value = UserForm1.TextBox2.Value
Cells(LastRow, 3).Value = UserForm1.TextBox3.Value
Cells(LastRow, 4).Value = UserForm1.TextBox4.Value
Cells(LastRow, 5).Value = UserForm1.TextBox5.Value
Cells(LastRow, 6).Value = UserForm1.TextBox6.Value
Unload Me
End Sub
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in theCommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.
– Zack E
Mar 11 at 16:49
add a comment |
I would avoid using Activate
and Select
. This may be what you are looking for, but you will need to adjust things like the Sheet Name and so on..
Private Sub OK_Click()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Cells(Worksheets("Sheet1").Rows.Count, 1).End(xlUp).Row + 1
Cells(LastRow, 1).Value = UserForm1.TextBox1.Value
Cells(LastRow, 2).Value = UserForm1.TextBox2.Value
Cells(LastRow, 3).Value = UserForm1.TextBox3.Value
Cells(LastRow, 4).Value = UserForm1.TextBox4.Value
Cells(LastRow, 5).Value = UserForm1.TextBox5.Value
Cells(LastRow, 6).Value = UserForm1.TextBox6.Value
Unload Me
End Sub
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in theCommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.
– Zack E
Mar 11 at 16:49
add a comment |
I would avoid using Activate
and Select
. This may be what you are looking for, but you will need to adjust things like the Sheet Name and so on..
Private Sub OK_Click()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Cells(Worksheets("Sheet1").Rows.Count, 1).End(xlUp).Row + 1
Cells(LastRow, 1).Value = UserForm1.TextBox1.Value
Cells(LastRow, 2).Value = UserForm1.TextBox2.Value
Cells(LastRow, 3).Value = UserForm1.TextBox3.Value
Cells(LastRow, 4).Value = UserForm1.TextBox4.Value
Cells(LastRow, 5).Value = UserForm1.TextBox5.Value
Cells(LastRow, 6).Value = UserForm1.TextBox6.Value
Unload Me
End Sub
I would avoid using Activate
and Select
. This may be what you are looking for, but you will need to adjust things like the Sheet Name and so on..
Private Sub OK_Click()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Cells(Worksheets("Sheet1").Rows.Count, 1).End(xlUp).Row + 1
Cells(LastRow, 1).Value = UserForm1.TextBox1.Value
Cells(LastRow, 2).Value = UserForm1.TextBox2.Value
Cells(LastRow, 3).Value = UserForm1.TextBox3.Value
Cells(LastRow, 4).Value = UserForm1.TextBox4.Value
Cells(LastRow, 5).Value = UserForm1.TextBox5.Value
Cells(LastRow, 6).Value = UserForm1.TextBox6.Value
Unload Me
End Sub
answered Mar 8 at 21:59
Zack EZack E
404115
404115
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in theCommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.
– Zack E
Mar 11 at 16:49
add a comment |
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in theCommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.
– Zack E
Mar 11 at 16:49
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
How about adding a button to the dialog box and once you click on submit, the data gets saved in the next sheet
– Saagar
Mar 10 at 3:01
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
This code has helped me create a dialog box, but Once the user adds all the details, how do I go and add a Submit button, so that once clicked on Submit, the data gets copied to the next sheet, And when multiple information are submitted, I want the next sheet to act as a repository. The next set of data gets submitted from the next line onwards, How do I do that?
– Saagar
Mar 10 at 3:03
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in the
CommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.– Zack E
Mar 11 at 16:49
Sorry for the delayed reply. In VBA you will need to add a Command Button to the UserForm by selecting the UserForm and then in the toolbox add the Command Button. Once the Command Button has been added then place your code in the
CommandButton_Change ()
event. Please do some research on adding controls to UserForms as well.– Zack E
Mar 11 at 16:49
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070892%2fcreate-a-repository-user-input-data-from-input-box-and-data-is-saved-in-the-oth%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown