Cross-posted at: https://www.mrexcel.com/forum/genera...ting-code.html
Please read VBA Express' policy on Cross-Posting in item 3 of the rules: http://www.vbaexpress.com/forum/faq...._new_faq_item3