Hi,
I'm looking for some help on why my code is working on a PC but won't work on a MAC. I have a sub that executes when the user uses the paste function to auto-format cells based on the data pasted in. I can't figure out why it won't work on a MAC. I thought it was because the control ID number was going to be different between the two OSs. I confirmed that it is 128 on both. Any help would be greatly appreciated.
Dim undolist As String
undolist = Application.CommandBars("Standard").FindControl(ID:=128).List(1)
If Left(undolist, 5) = "Paste" Then
The rest of the code after this is just the instructions for formatting.
I'm looking for some help on why my code is working on a PC but won't work on a MAC. I have a sub that executes when the user uses the paste function to auto-format cells based on the data pasted in. I can't figure out why it won't work on a MAC. I thought it was because the control ID number was going to be different between the two OSs. I confirmed that it is 128 on both. Any help would be greatly appreciated.
Dim undolist As String
undolist = Application.CommandBars("Standard").FindControl(ID:=128).List(1)
If Left(undolist, 5) = "Paste" Then
The rest of the code after this is just the instructions for formatting.