Hi.
Can this do?
Double Click with VBA in the CELL-dot?
See attachment.
Hi.
Can this do?
Double Click with VBA in the CELL-dot?
See attachment.
and this will allow you to do what?
Remember To Do the Following....
Use [Code].... [/Code] tags when posting code to the thread.
Mark your thread as Solved if satisfied by using the Thread Tools options.
If posting the same issue to another forum please show the link
Fill down Formula.
If i use fill down formula 12 000 or more cells my codes very slow:20..50sec.
[VBA]Sub FillFO() ''
Dim LastRow As Long
Range("B1").Select
ActiveCell.FormulaR1C1 = "=SUM(RC[-1]*2)"
With ActiveSheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
Range("B1:B" & LastRow).FillDown
End With
End Sub
[/VBA]
[VBA] Dim rng As Range
Set rng = Range(Selection.Offset(, -1), Selection.Offset(, -1).End(xlDown))
If Not rng(1).Offset(1) = "" Then
Selection.AutoFill Destination:=rng.Offset(, 1)
End If
[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
Thanks mdamackillop.
But my formula : =SUMIF('2'!A:A;C1;'2'!B:B)
You variant not faster.
Sry.
[VBA]With ActiveSheet
Range("A1").Activate
ActiveCell.Offset(0, 3).FormulaR1C1 = "=SUMIF(2!C[-3],RC[-1],2!C[-2])"
Range("D1").Activate
Set rng = Range(Selection.Offset(, -1), Selection.Offset(, -1).End(xlDown))
If Not rng(1).Offset(1) = "" Then
Selection.AutoFill Destination:=rng.Offset(, 1)
End If
End With
[/VBA]
I was answering your original post, not the later question.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'