Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
see your other post. For your three conditions you could apply a custom format without any macros -- Regards Frank Kabel Frankfurt, Germany Hi Frank, Thanks again buddy!!I wish the same way too...But probably what he is looking for is attaining genric functionality in the sense......In a event macro I have to specify the column I want to change but is it possible to do it generically I mean not tying it to one column or row and instead put the functionality in to work for any column/row and let the user choose which column he wants that format in?Is it possible to do that? This is what I currently have....So how I change it so that I need not specify target.column and make it generic...... Private Sub Worksheet_Change(ByVal Target As Range) Debug.Print "RUNNING" If Target.Column = 5 Then Application.EnableEvents = False Select Case Target.Value Case 1 Target.Value = "Read Only" Case 2 Target.Value = "Assessor" Case 3 Target.Value = "Reviewer" End Select Application.EnableEvents = True End If End Sub --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom formating | Excel Discussion (Misc queries) | |||
excel 2003 (11.8307.8221) SP3 - custom cell formatting question | Excel Worksheet Functions | |||
Simple cell formating question | Excel Worksheet Functions | |||
custom cell formating | Excel Worksheet Functions | |||
custom formating a cell | Excel Worksheet Functions |