I've been given a project to test macros to see if they will function in both Excel 2003 and 2010. I came across one workbook where I found a slight difference when using Excel 2010.
When using this code, I was tasked with seeing if in the Confirm Message Box the 2 selected files could accidentally be selected incorrectly and be correctly displayed. I wanted to see if the selected file for File_Text would show up under File_dRn and vice a versa.![]()
Please Login or Register to view this content.
When I ran the macro in Excel 2010, no matter what order I selected the files (File_Text first or second or File_dRn first or second), GetFiles(2) would always be assigned to File_Text and GetFiles(1) would always be assigned to File_dRn. I could never have this reversed.
Is there something different between Excel 2003 and 2010 that would explain what is going on?
Thank you for the help.
Bookmarks