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.

GetFiles = Application.GetOpenFilename _
    ("Open File,*.xls;*.txt", 1, "select one or more files", , True)

File_Text = GetFiles(2)
File_dRn = GetFiles(1)

Confirm = MsgBox("You Have Entered:" & vbNewLine & "Text File:" & vbNewLine & File_Text & _
                vbNewLine & "dRn File:" & vbNewLine & File_dRn, vbYesNo, "Confirmation")
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.

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.