Hi everyone!
I created an org chart in Excel, using rectangles and straight/elbow connectors. I want to include a search box that will allow users to input an employee's name and Excel will jump to/select the rectangle that contains the name.
I'm just learning VBA, so I'm working with code that I find online and tweaking it to fit my needs. I've been pretty successful figuring out other issues, but this one has me stuck. The code I'm using (below), will occasionally work, but usually produces Run-time error '-2147024809 (80070057)': The specified value is out of range.
When I debug, it highlights this line: sTemp = shp.TextFrame2.TextRange.Characters.Text
Any thoughts? Thanks in advance!!HTML Code:
Bookmarks