Excel mystery
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
It could well be to do with codepages / character sets / stupid fucking VBA.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
It could well be to do with codepages / character sets / stupid fucking VBA.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Rage wrote:
"Excel found unreadable content"
That means it must have opened its own help file, to look for a solution.
I wanna be a eunuchs developer! Pass me a bread knife!
-
Try using different flavours of UTF-8 - American_America.AL32UTF8 - en_US.UTF-8 That's a particular issue with databases, e.g. oracle likes American_America.AL32UTF8, and Sybase prefers en_US.UTF-8, so if someone along the way is using a non-preferred version, it can go pear shaped.
I wanna be a eunuchs developer! Pass me a bread knife!
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
-
Rage wrote:
But Korea.
Which Korea ? Naughty Korea or Nice Korea ? :)
Zen and the art of software maintenance : rm -rf * Math is like love : a simple idea but it can get complicated.
I heard it as Naughty Korea and Safe Korea.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
Rage wrote:
"Excel found unreadable content"
That means it must have opened its own help file, to look for a solution.
I wanna be a eunuchs developer! Pass me a bread knife!
:thumbsup:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
I heard it as Naughty Korea and Safe Korea.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Coming soon: "Naughty Korea and "Glow-in-the-dark Korea" :sigh:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
Rage wrote:
But Korea.
Which Korea ? Naughty Korea or Nice Korea ? :)
Zen and the art of software maintenance : rm -rf * Math is like love : a simple idea but it can get complicated.
virang_21 wrote:
Naughty Korea or Nice Korea ?
Sometimes a naughty Korean girl can be kind of nice. :-D
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
Try using different flavours of UTF-8 - American_America.AL32UTF8 - en_US.UTF-8 That's a particular issue with databases, e.g. oracle likes American_America.AL32UTF8, and Sybase prefers en_US.UTF-8, so if someone along the way is using a non-preferred version, it can go pear shaped.
I wanna be a eunuchs developer! Pass me a bread knife!
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
The Delphi RTL makes some peculiar exceptions related to the Korean locale and era. so it's obvious that something is different enough to warrant this.
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Whenever methodologies become productized, objectivity is removed from the equation. -- Mike Myatt
-
Coming soon: "Naughty Korea and "Glow-in-the-dark Korea" :sigh:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
What of Huntingdon's Chorea[^]
--------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^]
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
How are the macros being called? If it is by a Ctrl code it may be a keyboard issue. There is no obvious reason why the Macro isn'r being sent, but it may be a upgrade issue. Is the Korean unit using Excel 2003 or 2007? Are the files being saved in the .xlsm format?
--------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^]
-
What of Huntingdon's Chorea[^]
--------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^]
I think it will take more than treatment with Tetrabenazine to control Naughty Korea!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
How are the macros being called? If it is by a Ctrl code it may be a keyboard issue. There is no obvious reason why the Macro isn'r being sent, but it may be a upgrade issue. Is the Korean unit using Excel 2003 or 2007? Are the files being saved in the .xlsm format?
--------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^]
The macros are being called using calls in the worksheets code. (so a control button is linked with event handling macro in the worksheet which itself uses code from modules, this is probably what you meant with ctrl code).
Dalek Dave wrote:
he Macro isn'r being sent
It is not that they are not being sent, it is that all code is removed when opening the file. The VBA project is completely empty. ( But for the spreadsheets modules, but they are empty, the code is gone). Korea uses Excel 2007, combined with WinXp. Devs uses Excel 2003, with WinXp. The release file is a excel 2003 .xls file. We however experience the same problem when the file is saved by the Devs in the Excel 2007 .xlsm file, which IMO excludes a problem with the excel version and/or security levels.
-
... in your coffee. :)
One of these days I'm going to think of a really clever signature.
-
So we are just facing a mystery here, maybe can someone throw some light on it. We have an 2003 Excel spreadsheet (format .xls) with macros, which is used in several locations in the world on Office 2007 without problem. But Korea. When they try and open the file, the modules just vanished, and there is no VBA code anymore. Two error messages appear : "Modules not found", and "Excel found unreadable content". Has anybody a clue ? (Dear hamsters, feel free to move this message, if not appropriate here. I am just trying to hit the mass, because I have no idea where to begin with).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
I have encountered situations where there are modules or DLLs that are not installed or are different between the versions of Office. Additionally VBA allows use of VB components available in VB6 such as MScomm and of course third party add ins.. When the VBA code is executed and the missing or incorrect module is called, Excel will strip the controls or modules from the project. This will happen as well with unregistered DLLs, OCXs and such. (I don't know why...) This, is in my experience, occurs when an Excel installation is a clean install of a newer version of Office with no prior versions as opposed to upgraded versions. (Had Office 2003 and installed 2010) It’s a VBA PITA. :mad:
It was broke, so I fixed it.
-
I have encountered situations where there are modules or DLLs that are not installed or are different between the versions of Office. Additionally VBA allows use of VB components available in VB6 such as MScomm and of course third party add ins.. When the VBA code is executed and the missing or incorrect module is called, Excel will strip the controls or modules from the project. This will happen as well with unregistered DLLs, OCXs and such. (I don't know why...) This, is in my experience, occurs when an Excel installation is a clean install of a newer version of Office with no prior versions as opposed to upgraded versions. (Had Office 2003 and installed 2010) It’s a VBA PITA. :mad:
It was broke, so I fixed it.