Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to have a message pop up when a particular worksheet opens
warning users that "All worksheets are linked to Master Price List worksheet. Please edit only Master Price List." Is there a way to do this with a macro? Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This code would go into the workbook's event code segment. To get it there,
right-click on the Excel icon to the left of the word "File" in the menu bar and choose [View Code] from the list, copy the code, paste it in and modify as needed. Private Sub Workbook_SheetActivate(ByVal Sh As Object) 'change name as required If Sh.Name < "Master Price List Sheet Name" Then MsgBox "your message here" End If End Sub "Ruth" wrote: I would like to have a message pop up when a particular worksheet opens warning users that "All worksheets are linked to Master Price List worksheet. Please edit only Master Price List." Is there a way to do this with a macro? Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Message box upon opening file | Excel Discussion (Misc queries) | |||
Error message when opening Excel | Excel Discussion (Misc queries) | |||
Message Upon Opening File | Excel Discussion (Misc queries) | |||
Error message on opening?? | Excel Discussion (Misc queries) | |||
error message in opening | Excel Discussion (Misc queries) |