How can you print the object name associated with the last VB error to the Immediate window?

Question:How can you print the object name associated with the last VB error to the Immediate window?

1.Debug.Print Err.Number

2.Debug.Print Err.Source

3.Debug.Print Err.Description

4.Debug.Print Err.LastDLLError


Search
Categories