Greetings,
Running Office 2007, 2010, & 2013 on Windows 7 in our network environment here.
I have a search macro that looks at all worksheets in the workbook except for one that will never contain the string being searched for. The results get displayed in a message box. This workbook will be used by many people who will access it over our internal network.
Although the macro functions, I'm having some issues with it.
First, the macro produces no error code and the results message box pops up rather quickly but it looks like the macro never stops running. My cursor stays in "busy" mode unless it is over the results message box. I suspect this is because the results message box is waiting for the click on the OK button. I'm afraid this will confuse the end users. Is there any way to force the cursor back to its default pointer?
Second, the results message box give the locations of the found strings in absolute references (with the dollar signs). My manager thinks this is "ugly". How can I get rid of the dollar signs?
Third, my manager would like it if the locations in the results message box could be hyperlinks to the actual cell listed. Is this even possible from a message box? [My manager frequently asks for the impossible.]
Here's an image of the results with the cursor spinning:
Search-n-Cursor.JPG
Here is my code:
I'm a novice at VBA, only half-way through my online Introduction to VBA course. I find lots of code via google and then modify it to meet my needs.![]()
Please Login or Register to view this content.
Any assistance would be greatly appreciated.
Bookmarks