abdelfattah
Well-known Member
- Joined
- May 3, 2019
- Messages
- 1,429
- Office Version
- 2019
- 2010
- Platform
- Windows
hello
I have this formula but what I need fill down the formula automatically without pull down manually , what I want when I fill numbers in any cell in column e then show formula in column g
this is my trying
I have this formula but what I need fill down the formula automatically without pull down manually , what I want when I fill numbers in any cell in column e then show formula in column g
this is my trying
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Columns(5)) Is Nothing Then
Dim strFormulas As Integer
LR = Range("g" & Rows.Count).End(xlUp).Row
strFormulas= "=IF(E2=0;"paid";"unpaid")"
Target.Formula = strFormulas
Target , Range("g2:g" & LR) = FillDown
End Sub