Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear all,
I have the following script that change the value for the cell B1 according to A1: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$A$1" Then If IsEmpty(Target.Value) = True Then With Range("B1") .Value = 1 Else With Range("B1") .Value = 0 End If End If How can I modify the script so that I can assign the value for the whole column B according to the whole column A" (i.e. A2 controls B2, A3 controls B3, and so on.) Thanks in advance. Florence |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation ?:Accepting both Numbers AND specific letters("N","n"," | Excel Discussion (Misc queries) | |||
How do I change the column heading in Excel to display "A" "B" "C | New Users to Excel | |||
Can you set a "trigger" in excel to send an email? | Excel Worksheet Functions | |||
Backup to specific folder if workbook names begins with "NSR" or "MAC" | Excel Programming | |||
How do I split "A1B2" into "A1" and "B2" using text to column fun. | Excel Programming |