LUIS FREUND
asked on
VBA Trim to a specific Sheet name
I have this VBA that works great but I want to add a specific sheet name to it. The sheet name is MAIN_PN. What would the code be with sheet MAIN_PN added to it?
Sub Trim()
Dim c As Range
For Each c In Range("A1:A8225")
c = Application.Trim(c)
Next
End Sub
Sub Trim()
Dim c As Range
For Each c In Range("A1:A8225")
c = Application.Trim(c)
Next
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help :)
ASKER