Hi.
I'm sorry if this is not a correct place to ask, but I'm really at loss. Here's the situation.
There are two computers (A and B) that have to work with the same Excel application. The application has VBA macros that use strings with native regional (Lithuanian, if it matters) letters. Computer A (actually, the whole group of computers, where the app was successfully working until now) has Office 2003 installed, and the app was developed in this version. Now newer computers B were added to that group, that have Office 2007. All run on Windows XP, all have the same Regional and Language Options settings (including the Language for non-Unicode programs, which is the one that really matters). Now what happens:
When a computer B loads the app, some of native symbols in the program code (only there, worksheets themselves are processed correctly) are replaced with others, which makes macros choke, since string comparison between values taken from a sheet and values present in the code start to give wrong results. Now, if try to I edit the code and type those native letters from the keyboard, they are entered correctly. So I can manually repair those strings to represent correct values, after which the code runs OK. I save the workbook, load it again - everything's all right. I load the workbook on a computer A where Office 2003 runs, and it also recognizes it properly. I save the workbook on that computer, load it on a computer B - and those letters are garbled again.
As I said, regional settings on both computers are identical, as much as I can tell. There's no other (non-Excel, I mean) shared applications between these two groups that would show similar behavior.
Any ideas what can be wrong? Thanks.
I'm sorry if this is not a correct place to ask, but I'm really at loss. Here's the situation.
There are two computers (A and B) that have to work with the same Excel application. The application has VBA macros that use strings with native regional (Lithuanian, if it matters) letters. Computer A (actually, the whole group of computers, where the app was successfully working until now) has Office 2003 installed, and the app was developed in this version. Now newer computers B were added to that group, that have Office 2007. All run on Windows XP, all have the same Regional and Language Options settings (including the Language for non-Unicode programs, which is the one that really matters). Now what happens:
When a computer B loads the app, some of native symbols in the program code (only there, worksheets themselves are processed correctly) are replaced with others, which makes macros choke, since string comparison between values taken from a sheet and values present in the code start to give wrong results. Now, if try to I edit the code and type those native letters from the keyboard, they are entered correctly. So I can manually repair those strings to represent correct values, after which the code runs OK. I save the workbook, load it again - everything's all right. I load the workbook on a computer A where Office 2003 runs, and it also recognizes it properly. I save the workbook on that computer, load it on a computer B - and those letters are garbled again.
As I said, regional settings on both computers are identical, as much as I can tell. There's no other (non-Excel, I mean) shared applications between these two groups that would show similar behavior.
Any ideas what can be wrong? Thanks.