Thread
:
Adding new worksheet using VBA
View Single Post
#
1
Posted to microsoft.public.excel.programming
Nick Hodge
external usenet poster
Posts: 1,173
Adding new worksheet using VBA
Wuming
This code in the Click event of a command button
Private Sub CommandButton1_Click()
Worksheets.Add
End Sub
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS
"wuming " wrote in message
...
Hi,
How do u add a new worksheet to an existing workbook when lets say a
command button is clicked? The worksheet would then asked user to input
data. Anyone knows?
---
Message posted from
http://www.ExcelForum.com/
Reply With Quote
Nick Hodge
View Public Profile
Find all posts by Nick Hodge