Hi,
I tried the code on my computer and it stopped at the command:
This is probably because all the data is already shown. I tried using the filter (so only the data for "Holmes" was visible), repeated the Amend function and that worked fine.
The ShowAllData comand isn't absolutely essential so you could bypass it just by commenting it out by putting an apostrophe, " ' ", at the start of that line. The code will turn green signifying that it is to be ignored.
Should work fine then and you can still play around with some coding if you particularly want the ShowAllData functionality.
Post back if you need any more help,
Tris
Bookmarks