Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can I use an event macro to prevent the user from using the fill handle on
unprotected cells? The issue is data validation. Column B has a list validation. (For example: Tom1,Dick1,Harry1) If the user chooses "Tom1" from the drop-down list in cell B1, then uses the fill handle to fill down, B2 will read "Tom2", B3 will read "Tom3" etc, which is not prevented by data validation. Excel 2000. Thanks in advance Dave, |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi, Dave !
Can I use an event macro to prevent the user from using the fill handle on unprotected cells? The issue is data validation. Column B has a list validation. (For example: Tom1,Dick1,Harry1) If the user chooses "Tom1" from the drop-down list in cell B1 then uses the fill handle to fill down, B2 will read "Tom2", B3 will read "Tom3" etc, which is not prevented by data validation... one (possible) option is the following in "that" worksheet code-module: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Application.CellDragAndDrop = Intersect(Target, Range("b:b")) Is Nothing End Sub hth, hector. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Héctor,
Works a treat. Thanks a lot! I'm at home now, using XL2007, but I use XL2000 at work. Will it run in XL2000? Regards - Dave. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi, Dave !
Works a treat. Thanks a lot! I'm at home now, using XL2007, but I use XL2000 at work. Will it run in XL2000? Regards - Dave. I tested from version xl-97 :D regards, hector. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ok, thanks Héctor. I'll use it Monday.
Regards - Dave. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro filldown | Excel Worksheet Functions | |||
FillDown and FillRight buttons don't work at extreme margins | Excel Discussion (Misc queries) | |||
INDIRECT filldown problem | Excel Discussion (Misc queries) | |||
FillDown Macro | Excel Worksheet Functions | |||
Macro Filldown | Excel Worksheet Functions |