C
Calvin Crumrine
We have a number of macros we've developed over the years and some of
them have suddenly quit working on some machines. All our machines run
Windows XP and Office 2003, but we've narrowed the problem down to only
those machines which were 'built fresh' with Office 2003-the others
started with Office 2000 & were upgraded to 2003.
By comparing the machines on which it works to those on which it doesn't
it appears the problem is a missing reference to the Microsoft Common
Controls 2 but the problem appears with the Mid function. I find it hard
to believe that the Mid function comes from the Common Controls 2-it's
simply too basic a function.
I can believe that it's part of the move to .Net, which replaces the Mid
function with a .Substring method, but so far I haven't found a
Substring method/function/whatever in Word VBA.
Am I missing something?
them have suddenly quit working on some machines. All our machines run
Windows XP and Office 2003, but we've narrowed the problem down to only
those machines which were 'built fresh' with Office 2003-the others
started with Office 2000 & were upgraded to 2003.
By comparing the machines on which it works to those on which it doesn't
it appears the problem is a missing reference to the Microsoft Common
Controls 2 but the problem appears with the Mid function. I find it hard
to believe that the Mid function comes from the Common Controls 2-it's
simply too basic a function.
I can believe that it's part of the move to .Net, which replaces the Mid
function with a .Substring method, but so far I haven't found a
Substring method/function/whatever in Word VBA.
Am I missing something?