Forum Discussion

MCNEILS5's avatar
MCNEILS5
Copper Contributor
Oct 08, 2024

Button To Navigate In Excel

I've tried to find something that might work for this but have been unable to find anything.   My work we use excel to manage our schedule and everyone's appointments and whatnot. We have a row wit...
  • HansVogelaar's avatar
    HansVogelaar
    Oct 08, 2024

    MCNEILS5 

    I didn't read your initial question carefully enough.

    Assuming that the dates are in row 1, assign the following macro to a Form Control command button:

    Sub Button1_Click()
        Application.Goto Rows(1).Find(What:=Date, LookIn:=xlFormulas), True
        ActiveCell.EntireColumn.Select
    End Sub

Resources