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 1 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.
  • 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
                        • R Rage

                          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 Offline
                          M Offline
                          Mark_Wallace
                          wrote on last edited by
                          #24

                          It used to be Data > Import in Excel before the ******* ribbon came along and made it possible only to create spreadsheets to handle storing your kids' heights to send them to Granny. I'll have a mooch; it's got to still be in there somewhere.

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

                          M 1 Reply Last reply
                          0
                          • M Mark_Wallace

                            It used to be Data > Import in Excel before the ******* ribbon came along and made it possible only to create spreadsheets to handle storing your kids' heights to send them to Granny. I'll have a mooch; it's got to still be in there somewhere.

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

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

                            Gotcha: Excel Options > Advanced > Web Options (a button near the bottom) > Encoding

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

                            I 1 Reply Last reply
                            0
                            • M Mark_Wallace

                              Gotcha: Excel Options > Advanced > Web Options (a button near the bottom) > Encoding

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

                              I Offline
                              I Offline
                              ItsTobias
                              wrote on last edited by
                              #26

                              Dealt with that option recently, the settings changed in the Web Options panel in Excel have no effect on anything except the save as type Simple Web page and Web Page. in the save as dialog. If you want to import as a certain Encoding go to Data (in the ribbon) > From Text, it will ask for a file, and then the Text Import Wizard will open up, on the first page you can set the File Origin which is actually the file encoding.

                              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
                                salowist
                                wrote on last edited by
                                #27

                                Do you know if any of the Korean users can add a module manually?

                                R 1 Reply Last reply
                                0
                                • S salowist

                                  Do you know if any of the Korean users can add a module manually?

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

                                  Yes, they can add modules, and remove them from other working excel files.

                                  S 1 Reply Last reply
                                  0
                                  • R Rage

                                    Yes, they can add modules, and remove them from other working excel files.

                                    S Offline
                                    S Offline
                                    salowist
                                    wrote on last edited by
                                    #29

                                    Have you tried converting the spreadsheet to 2007? It would require security changes but it may just work. I have a vbs script that adds trusted locations via the registry if you need.

                                    R 1 Reply Last reply
                                    0
                                    • S salowist

                                      Have you tried converting the spreadsheet to 2007? It would require security changes but it may just work. I have a vbs script that adds trusted locations via the registry if you need.

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

                                      Yes ( I mentioned that in my OP IIRC), and it did not help ( same behaviour, same error messages), both as .xls and as .xlsm. There was actually no necessary security changes, as everything was set on "allowed". Can you PM me your script ? This sounds interesting ! Thanks !

                                      S 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
                                        snowman53
                                        wrote on last edited by
                                        #31

                                        Is it possible they custom installed Office and left out the VBA support?

                                        R 1 Reply Last reply
                                        0
                                        • S snowman53

                                          Is it possible they custom installed Office and left out the VBA support?

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

                                          Custom installed, yes. Left out VBA support, no, they have been using Office successfully for the last two years, so it must be something in the file.

                                          S 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