Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Excel mystery

Excel mystery

Scheduled Pinned Locked Moved The Lounge
helpquestion
38 Posts 16 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Rage

    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

    M Offline
    M Offline
    Mark_Wallace
    wrote on last edited by
    #4

    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!

    OriginalGriffO 1 Reply Last reply
    0
    • R Rage

      I sense something like that, yes. But I could not nail it down so far.

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #5

      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!

      R 1 Reply Last reply
      0
      • R Rage

        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

        V Offline
        V Offline
        virang_21
        wrote on last edited by
        #6

        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.

        N J D 3 Replies Last reply
        0
        • V virang_21

          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.

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #7

          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

          OriginalGriffO 1 Reply Last reply
          0
          • M Mark_Wallace

            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!

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #8

            :thumbsup:

            Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • N Nagy Vilmos

              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

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #9

              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

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              D 1 Reply Last reply
              0
              • V virang_21

                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.

                J Offline
                J Offline
                JimmyRopes
                wrote on last edited by
                #10

                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

                1 Reply Last reply
                0
                • M Mark_Wallace

                  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!

                  R Offline
                  R Offline
                  Rage
                  wrote on last edited by
                  #11

                  Mark Wallace wrote:

                  Try using different flavours of UTF-8

                  ... in what ?

                  L 1 Reply Last reply
                  0
                  • R Rage

                    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

                    E Offline
                    E Offline
                    Espen Harlinn
                    wrote on last edited by
                    #12

                    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

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      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

                      D Offline
                      D Offline
                      Dalek Dave
                      wrote on last edited by
                      #13

                      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[^]

                      OriginalGriffO 1 Reply Last reply
                      0
                      • R Rage

                        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

                        D Offline
                        D Offline
                        Dalek Dave
                        wrote on last edited by
                        #14

                        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[^]

                        R 1 Reply Last reply
                        0
                        • D Dalek Dave

                          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[^]

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #15

                          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

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          1 Reply Last reply
                          0
                          • D Dalek Dave

                            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[^]

                            R Offline
                            R Offline
                            Rage
                            wrote on last edited by
                            #16

                            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.

                            1 Reply Last reply
                            0
                            • R Rage

                              Mark Wallace wrote:

                              Try using different flavours of UTF-8

                              ... in what ?

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #17

                              ... in your coffee. :)

                              One of these days I'm going to think of a really clever signature.

                              R 1 Reply Last reply
                              0
                              • L Lost User

                                ... in your coffee. :)

                                One of these days I'm going to think of a really clever signature.

                                R Offline
                                R Offline
                                Rage
                                wrote on last edited by
                                #18

                                :rolleyes: And that's the nice version, my BIL would have probably answered in your a**.

                                M 1 Reply Last reply
                                0
                                • R Rage

                                  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

                                  S Offline
                                  S Offline
                                  S Houghtelin
                                  wrote on last edited by
                                  #19

                                  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.

                                  R 1 Reply Last reply
                                  0
                                  • S S Houghtelin

                                    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.

                                    R Offline
                                    R Offline
                                    Rage
                                    wrote on last edited by
                                    #20

                                    This sounds very likely. I was indeed looking at which add-ons and references and components are being required, and installed on both versions...

                                    S 1 Reply Last reply
                                    0
                                    • R Rage

                                      This sounds very likely. I was indeed looking at which add-ons and references and components are being required, and installed on both versions...

                                      S Offline
                                      S Offline
                                      S Houghtelin
                                      wrote on last edited by
                                      #21

                                      Rage wrote:

                                      I was indeed looking at which add-ons and references and components are being required

                                      I think you were on the right track then. One thing to note is once the controls, modules have been stripped, that spreadsheet is toast. Only a new working copy will replaced them. You may want to check the VBA versions of modules in use. Sometimes installing older VB runtime files can alleviate the issues. Good luck, hope your head doesn't get too bloody from bashing it on the keyboard. :thumbsup:

                                      It was broke, so I fixed it.

                                      1 Reply Last reply
                                      0
                                      • R Rage

                                        :rolleyes: And that's the nice version, my BIL would have probably answered in your a**.

                                        M Offline
                                        M Offline
                                        Mark_Wallace
                                        wrote on last edited by
                                        #22

                                        Well get your a** in the office first, then!

                                        I wanna be a eunuchs developer! Pass me a bread knife!

                                        R 1 Reply Last reply
                                        0
                                        • M Mark_Wallace

                                          Well get your a** in the office first, then!

                                          I wanna be a eunuchs developer! Pass me a bread knife!

                                          R Offline
                                          R Offline
                                          Rage
                                          wrote on last edited by
                                          #23

                                          On a serious note, is there any possibility to tell excel to use a specfic encoding ? I know that in browser rendering, but not in excel...

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups