With respect to the event "Workbook_Open", I wanted to call up a macro called Input, which has a relationship with the active cell.
The problem is that Workbook_Open may be too early to pick up the active cell.
Is there an event which triggers after the workbook is opened and a cell is selected?
The problem is that Workbook_Open may be too early to pick up the active cell.
Is there an event which triggers after the workbook is opened and a cell is selected?
VBA Code:
Private Sub Workbook_Open()
Application.Run "Input"
End Sub
Private Sub Input()
If ActiveCell.Characters(1, 1).Font.Name Like "Arial" Then
'Some input here
End If
End Sub