Hi guys, not something I've tried before.
Situation: I play a bowls league, several teams in the league, and the organiser produces an excel sheet showing all matches. In order to compile our club's annual handbook I only need our matches.
Progress to date: Using vba I copy the current sheet (to preserve original data)
Focus is shown on new sheet, msgbox states click next button.
Next button starts inputbox for the team name to be inserted.
All matches are examined and targetclub's matches are shown on top rows, remainder deleted.
SUCCESS
Improvement
I want to cut out the second button.
I would like to be able to have msgbox state "Click on team name to be sorted"
macro pauses until user clicks on a cell with their club's name.
Variable is set to the cell value and the rest operates as above.
Problem:
I can't make it pause until the mouse click, and I don't know how to make the cell value the variable - because it could be any one of a dozen or so different cells.
Any help would be appreciated.
Thank
T
Situation: I play a bowls league, several teams in the league, and the organiser produces an excel sheet showing all matches. In order to compile our club's annual handbook I only need our matches.
Progress to date: Using vba I copy the current sheet (to preserve original data)
Focus is shown on new sheet, msgbox states click next button.
Next button starts inputbox for the team name to be inserted.
All matches are examined and targetclub's matches are shown on top rows, remainder deleted.
SUCCESS
Improvement
I want to cut out the second button.
I would like to be able to have msgbox state "Click on team name to be sorted"
macro pauses until user clicks on a cell with their club's name.
Variable is set to the cell value and the rest operates as above.
Problem:
I can't make it pause until the mouse click, and I don't know how to make the cell value the variable - because it could be any one of a dozen or so different cells.
Any help would be appreciated.
Thank
T