I am writing a macro using the "inputbox" reference. I have preselected a range (within the macro), and now want to allow any user to sort on any column by selecting the column (in the worksheet entitled "Orientation") using a mouse click. The code below is the summary of my effort (Although I did not include the "sort" branch here for brevity)... everything works as expected until the variable call identifying the column; at this point, I get the error message in my post title.
Thanks in advance for your review.
![]()
Please Login or Register to view this content.
Bookmarks