As you appear to be working in Excel, I have moved this thread to our Office Development forum.