J
Julian Ladbury
I have a VBA-based product which takes certain actions depending on the Word
version under which it is executing. Specifically, it includes the following
line of code:
If CSng(Application.version) < 9# Then ' use numeric comparison so
""9.0" < "11"
I recently began looking at internationalising the product, and swiftly
found that this statement fails with a Runtime Error 13 when my Regional
Settings were set to French(France).
I have posted a document on my SkyDrive which can be used to reproduce the
problem. It also includes some information about some other Regional Settings
which exhibit (and do not exhibit) the problem. You can find it at
http://cid-75e3e350f569b887.skydrive.live.com/self.aspx/.Public/Bug31/Bug31 Reproduce.doc
version under which it is executing. Specifically, it includes the following
line of code:
If CSng(Application.version) < 9# Then ' use numeric comparison so
""9.0" < "11"
I recently began looking at internationalising the product, and swiftly
found that this statement fails with a Runtime Error 13 when my Regional
Settings were set to French(France).
I have posted a document on my SkyDrive which can be used to reproduce the
problem. It also includes some information about some other Regional Settings
which exhibit (and do not exhibit) the problem. You can find it at
http://cid-75e3e350f569b887.skydrive.live.com/self.aspx/.Public/Bug31/Bug31 Reproduce.doc