Hi all.
I hope someone can help me out with the problem described here.
I've discovered that the complex math in Excel is badly implemented, since in english and danish, the different names means that the complex math stops working. For example we have:
English: IMSUB
Danish: IMAGSUB
and
English: IMPRODUCT
Danish: IMAGPRODUKT
If I create the spreadsheet in danish, it doesn't work in english version of Excel.
I thought I'd make a macro, which could search/replace these text strings. I'd place a
button and the user could choose language him-/herself. Just started looking into macros two days ago.
First I did a macro recording, which didn't continue to work. Simply because when I did the search/replace, the macro "forgets" to choose the entire workbook. It only searches the active sheet.
I continued by putting the words I want to search/replace into some cells. They are placed in Sheet "DK" in cell range B104-C104 as you can see below.
I coded the following:
Unfortunately the macro doesn't find anything to replace ... I am at a loss here. Running "BREAK" and "WATCH" the expressions DK1 and EN1 (stepping through the macro with F5) I can see that they stay empty ...
Please help me accomplish what I'd like to do.
Best regards,
Claus
Bookmarks