In my experience, particularly with macros, ignore diffraction if you need the DOF, particularly if you don\'t plan to print the resulting image quite large. It\'s true that such a small aperture isn\'t the sharpest setting, but any loss of sharpness due to diffraction is small and usually not an issue. (Bob and I go round and round about this. ) However, you\'ll usually need to use flash or a tripod because a small f-stop demands more light.
Is the image for this thread sharp enough? It was made at f22 at 1/15 second with a tripod.