Thanks. It works fine. I think I didn't put a space between the BC and Q2. I edited the R macro to get rid of [267] without any problem. Do you have any programming guide other than the sections in the Reference Guide? Some of that is rather vague and fails to address some important facets. Thanks again. jana