Thank you everyone; I'm so grateful for these quick responses. I think that my needs are best served by coding a macro. I do want to be able to specify the values in decimal (not hex). The shift operations are great; thank you, Charles, for the suggestion!
David
