Problem with inserting new sheets

bullionbuks

New Member
Joined
May 27, 2004
Messages
12
For some reason when I insert a new sheet into a workbook 3 sheets show up. How can I change the default insert back to 1 sheet at a time.

Thanks,
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
My guess is that you are not starting out on the same sheet you started on when you recorded the code. Try this variation:
Code:
Sub Insert_Sheet_Ex()
'
' Insert_Sheet_Ex Macro
'
    Dim OrigSheetCount As Integer
    Dim FinalSheetCount As Integer

    OrigSheetCount = Sheets.Count
 
    Sheets(1).Activate
    Sheets.Add Type:="Worksheet"

    FinalSheetCount = Sheets.Count

    MsgBox "Original Sheet Count: " & OrigSheetCount & vbCrLf & "Final Sheet Count: " & FinalSheetCount

End Sub
 
Upvote 0
Absolutely bizarre!

I wonder what happens if you change the number of worksheets in a new workbook to 1. The two shouldn't be tied together, but maybe they are (do you have the most recent updates for Office/Excel 2007 applied? maybe there was a bug that was fixed in later patches)?

In any event, try changing that setting and see if that makes any difference. Here is a link on where you can find that: http://office.microsoft.com/en-us/excel-help/insert-or-delete-a-worksheet-HP001217034.aspx. Go to the section marked "Change the number of worksheets in a new workbook".
 
Upvote 0
Already tried that method. Now are start with one sheet, but still adding three sheets at a time. Also I work in a large office and everyone has this problem.
 
Upvote 0
Do you have a workbook named Sheet.xltx in your XLSTART folder?
 
Upvote 0
When was the last time you did an update?

If you go to Excel Option and go to the Resources tab, on the last line ("about Microsoft Office Excel 2007"), what version are you on?

You may want to run the "Check for Updates" feature at the top of the Resources tab to make sure it just isn't some bug that was fixed in later features.
 
Upvote 0
Also take a look at shg's comments.

It looks like a template could be causing the issues.
 
Upvote 0

Forum statistics

Threads
1,225,155
Messages
6,183,218
Members
453,152
Latest member
ChrisMd

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