Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to write a code that allows users of my spreadsheet to select multiple
rows and delete them. However, i need to check first that the selected rows are located within a certain range, that is between row 12 and row 50. If the selection is outside that range, then the user will get a message saying they can't delete this selection. How do you say the following in VBA? If the current selection is located between row 12 and row 50 then delete selection. Else msgbox "sorry, you can't delete." Many thanks Tendresse |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding rows based on no of rows specified from a given position | Excel Worksheet Functions | |||
Position selected cell | Setting up and Configuration of Excel | |||
Default cursor/selected cell position after protecting | Excel Worksheet Functions | |||
How to I return the position of a selected cell in a range? | Excel Programming | |||
Returning Position Points from the currently selected cell | Excel Programming |