79753290

Date: 2025-09-02 09:25:28
Score: 0.5
Natty:
Report link

i tried this macro to not use range select. Instead of clicking cells in table, macro clicks below active cell vertically

Sub RefreshAll_LinkClickable_v2()

    Application.ScreenUpdating = False
    ActiveWorkbook.RefreshAll

    Dim ws As Worksheet
    Dim rRng As Range
    Set ws = ActiveSheet
    Set rRng = ws.Range("ControlTable[Borrower]:ControlTable[Agreement], ControlTable[Date of Balance Confirmation], ControlTable[The last related Document]")

    Dim rCell As Range
        For Each rCell In rRng
            Application.SendKeys "{F2}"
            Application.SendKeys "{ENTER}"
        Next rCell

    Application.ScreenUpdating = True
    
End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dwqwer