JeffFinnan
New Member
- Joined
- Aug 12, 2020
- Messages
- 47
- Office Version
- 2019
- Platform
- Windows
I would like to be able to run a macro that updates some cells such that as each cell is updated a chart is updated too. Presently the chart does not update until the macro has completed. Here is code I am using. I put in the delay to allow for the chart to update or at least that was my thinking.
Is there way to achieve what I would like to do?
Thanks,
Jeff
VBA Code:
Sub CopyPasteDate()
'
' CopyPasteDate Macro
Range("BF6").Select
Selection.Copy
For i = 7 To 40
Range("BF" & i).PasteSpecial Paste:=xlPasteFormulas
Application.Wait (Now + TimeValue("0:00:02"))
Next i
Application.CutCopyMode = False
End Sub
Is there way to achieve what I would like to do?
Thanks,
Jeff