I am filtering duplicate data in a table based on a column that the user can select. I would like an inputbox to open, then ask the user which column to filter. If there is only 1 column selected, run the code, otherwise cancel (it would be ideal if a msgbox opened and told them they selected more than 1 column, then open the inputbox again).
Below is my code, but I am getting a Complile error: invalid qualifier error before the code even starts. The error is on the ElseIf line.
Any help? Thanks in advance!
Bookmarks