Easy way to add a button in excel?

debralee

New Member
Joined
Dec 30, 2016
Messages
11
I created a spreadsheet form in excel and want to add a click here button on the top of the spreadsheet that will automatically create a duplicate new blank field sheet for end users. I know its easier to just duplicate a sheet but I need an easy button for the end users.
Anyone anyone Bueler?

Please help
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You want to click a button and create a new empty worksheet is that correct?
If so create a button and put this script in the button.

Code:
Sub Add_New_Sheet()
Sheets.Add(after:=Sheets(Sheets.Count)).Name = "New"
End Sub
 
Upvote 0
I was not sure what this means:

"will automatically create a duplicate new blank field sheet"

You want to duplicate the active sheet but you want it blank.

Well a blank sheet is just a new sheet. So my script above give you a new sheet.
 
Upvote 0
I think I see it slightly different. If that is so then we need to know which cells and/or ranges need clearing.
 
Upvote 0
You want to click a button and create a new empty worksheet is that correct?
If so create a button and put this script in the button.

Code:
Sub Add_New_Sheet()
Sheets.Add(after:=Sheets(Sheets.Count)).Name = "New"
End Sub

Hi Thank you!
I'm sorry for not being more clear.

I created a master form that needs to be filled out.
I want end user to be able to fill the form in, then hit a button that will create a new copy of my Master form to fill in another form. And I'm looking to have the "Add New Form button" available on all pages.

I'm just learning script

Thanks for you help.
 
Upvote 0
This script will make you a copy of the Sheet named "Master"

Code:
Sub Copy_Master()
Sheets("Master").Copy after:=Sheets(Sheets.Count)
ActiveSheet.Name = "New" & Sheets.Count
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,810
Messages
6,121,690
Members
449,048
Latest member
81jamesacct

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