Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi again,
I have another problem to solve. The code below is my attempt to stop a macro from inserting or deleting rows if B9 was included, but for some reason its not behaving as I thought it would. What am I doing wrong? If ActiveCell = B9 Then MsgBox "Please do not select to insert or delete from this row" & vbNewLine & _ "" & vbNewLine & _ " Please un-select and try again" & vbNewLine & _ " ", , "ERROR" Exit Sub End If Many thanks in advance John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - Cannot Delete or Insert Rows | Excel Discussion (Misc queries) | |||
IF statements - use to insert/delete rows? | Excel Worksheet Functions | |||
Automatically insert/delete rows to be x apart | Excel Discussion (Misc queries) | |||
Macro to insert and delete rows | Excel Programming | |||
Macro to insert and delete rows | Excel Programming |