Autofilter on protected work book?
Autofilter works on a protected workbook, but not when it is a line in a
macro, e.g.: Selection.AutoFilter Field:=1, Criteria1:="YES" It cause a macro error. This is true even if I enable 'Allow all user of the workbook to Use Autofilter'. I'm sure I've done this before and it worked, but not now. Does anyone know if this is a bug in 2003? Or a way around it? Or another way of selecting a number of rows by a single criterion (in a macro)? |
Good morning Muppet Does this article help? http://www.contextures.com/xlautofilter03.html#Protect HTH DominicB -- dominicb ------------------------------------------------------------------------ dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932 View this thread: http://www.excelforum.com/showthread...hreadid=393271 |
All times are GMT +1. The time now is 10:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com