Hey folks, been away for a while, due to work and home life!
However, yesterday my boss was mumbling about having to put keywords into every page’s title, on our website. How it was going to be such a daunting task. Apparently a lot of search engines like to pick up keywords for your site from the page titles. My boss was tasked with raising our website’s listing on the various search engines, so he spends his days wandering through mundane help files, etc. Anyhow, he doesn’t think about how easy some ‘repetitive’ tasks really are, if tackled from code.
So in a few minutes, I whipped up this little form in Front Page, which simply adds key words to every page’s title. It’s not overly complex, nor is it extremely flexible. The keywords are hard coded, however, it is smart enough to not add a keyword if it exists in the title already. It doesn’t ‘remove’ old keywords though, however a slight modification could provide a lot of those ‘missing’ capabilities….this is just a good example of how VBA can simplify repetitive tasks. (I am not extremely familiar with FP’s object model, so I spent half of the 10 minutes righting this, just looking through the help files! )
It’s attached to this post, you should be able to just import it into FP.