Re: $$Excel-Macros$$ Run-time error message: Method 'Hidden' of object 'Range' failed

2012-03-30 Thread dguillett1
Hidden = True Case "AC42U" Columns("E:J").EntireColumn.Hidden = True Range("C5") = "AC" End Select Application.ScreenUpdating = True End Sub Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: Anil Pandit

Re: $$Excel-Macros$$ Run-time error message: Method 'Hidden' of object 'Range' failed

2012-03-30 Thread Anil Pandit
: Don't ever post personal or confidential data in a workbook. Forum >> owners and members are not responsible for any loss. >> >> >> ------------------------------------------ >> To post to this group, se

Re: $$Excel-Macros$$ Run-time error message: Method 'Hidden' of object 'Range' failed

2012-03-30 Thread Anil Pandit
Range("E1:G1,J1:l1").EntireColumn.Hidden = True >Case "AC42U" > Columns("E:J").EntireColumn.Hidden = True > Range("C5") = "AC" > End Select > Application.ScreenUpdating = True > End Sub > > Don Guillett > Mic

Re: $$Excel-Macros$$ Run-time error message: Method 'Hidden' of object 'Range' failed

2012-03-28 Thread dguillett1
ct Application.ScreenUpdating = True End Sub Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: Anil Pandit Sent: Wednesday, March 28, 2012 11:04 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Run-time error message: Method 'Hidden' of object

$$Excel-Macros$$ Run-time error message: Method 'Hidden' of object 'Range' failed

2012-03-28 Thread Anil Pandit
Hi, I'm new to VBA and I'm posting this because I've been tearing my hair out over this all day, so I hope someone has seen this before and can point me in the right direction. I have created a worksheet change event which hides some columns according to a string that is chosen from a list in