Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Trying to make the following macro dependant on any change in the active
worksheet. In other words it should not be inaugerated if the the file just is opened for view or printing, but only when any cell in the sheet is changed. Can worksheet change be used? Does anybody have a solution? Sub Workbook_BeforeClose(cancel As Boolean) If Sheets("INKÖP").Range("C3").Value Range("C2") Then If MsgBox("Revisionsdatum ej uppdaterat! Uppdatera nu?", _ vbCritical + vbYesNo, _ "OBS! revisionsdatum") = vbYes Then cancel = True End If End Sub -- PerNorman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional formatting does not change when values change. ?? | Excel Worksheet Functions | |||
Conditional formatting or worksheet change event? | Excel Programming | |||
Change conditional formatting to coloured alternate rows dependent on a change in date? | Excel Programming | |||
Conditional Formating on Worksheet Change | Excel Programming | |||
Change Cell from Validated List Not Firing Worksheet Change Event | Excel Programming |