Hello,
I'd like to be able to create an index of personal names that are contained in my workbook. And also make the entries into hyperlinks.
My idea of a macro to do what I need goes something like this:
Would be grateful for a macro or other solution. There are hundreds of personal names in my project.Code:Sub CreateIndex() Create an 'Index' sheet Go to first active cell in data sheet RetrieveData: If active cell contains text string beginning with uppercase letter (string may include hyphen and space) Retrieve string and cell number Convert to hyperlink Add to Index sheet End If Goto next active cell If text string exists in Index sheet Go to next active cell If text string not in Index sheet Go to RetrieveData Stop somehow ? at given range? End Sub
Thanks....
Max![]()
Last edited by teylyn; 01-17-2010 at 01:17 AM. Reason: added code tags
Hi kronos1,
welcome to the forum. However,...
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
I've added the code tags for you this time. Please remember to use them from now on.
teylyn
Microsoft MVP - Excel
At Excelforum, you can say "Thank you!" by clicking theicon below the post.
Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.
Hi teylyn,
Sorry about that. Although knowing practically nothing about writing code I thought it might be better to express my problem in a code-like form. Will refrain in future....
Thanks for fixing it,
Max![]()
Last edited by teylyn; 01-17-2010 at 01:18 AM. Reason: deleted spurious quote
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks