Can I list my workbook sheets?

  • Thread starter Thread starter Jenny
  • Start date Start date
J

Jenny

I have an excell workbook in which there is a pricelist sheet for
ingredients and a (soon to be) large number of recipe sheets. Is it
possible for me to devise a list of recipe sheets from which I can
choose the recipe I wish to work on? Also, can I have the user use a
form for data entry, not the general one on the Data menu?
Thank you for your help.
Jenny

** Posted via: http://www.ozgrid.com
Excel Templates, Training, Add-ins & Software!
http://www.ozgrid.com/Services/excel-software-categories.htm **
 
After you use the other suggestions to make your list you might want to try
this to goto them.
right click sheet tab>view code>copy\paste this>double click on sheet name
to goto it.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Application.DisplayAlerts = False
Dim WantedSheet As String
WantedSheet = Trim(ActiveCell.Value)
If WantedSheet = "" Then Exit Sub
On Error Resume Next
If Sheets(ActiveCell.Value) Is Nothing Then
' GetWorkbook ' calls another macro to do that
Else
Sheets(ActiveCell.Value).Select
End If
Application.DisplayAlerts = True
End Sub
 
Back
Top