Sol Apache said:
Hi Jonathan
Thanks for your commments, and I¹ll send my protest to Microsoft.
I have been looking at Microsoft + .net stuff on Wikipedia and it seems
that
Visual Basic is part of the .net but it must be some new variation?
Haven¹t
had time to look at in depth yet but maybe it will enable the ³minimal
modification² you prefer.
Alas no. That was the reason for the great hullaballoo. VB.NET is for all
practical purposes an entirely new language with a syntax that is vaguely
similar to the old. They haven't even kept the same names for basic
datatypes. In VBA & VB6, a 16-bit integer is named Integer and a 32-bit
integer is named Long. In VB.NET they are Short and Integer respectively.
The names of keywords, objects, properties and methods in VB6 and its Forms
library, there is about an equal 3-way split between items which are the
same in name & behavior, items which are significantly different in name
and/or behavior, and items for which there is no direct equivalent in
VB.NET. That doesn't even remotely correspond to "minimal modification".
Microsoft produced a book on migrating VB6 applications to VB.NET. It takes
about 700 pages to tell you that you will have to rewrite just about
anything more complex than a "Hello World" sample app.
At least one VB MVP has been thrown out of the MVP program for loudly
proclaiming how stupid all this is. (I'm fairly safe, the Office people
agree with me at least in part, although they are very guarded about saying
so.)
The macros I use are pretty simple and limited, allowing some automation
of
office templates with userforms. Hope these can easily be replaced by
xCode
(AppleStudio) forms
You will have to rewrite them. There is most unlikely to be any kind of
automated conversion, not least because the forms engine of AppleScript
Studio, while much more powerful on the Mac than VBA UserForms, they way you
code it is completely different.
and that we can put AppleScripts in Word toolbar
buttons.
Nobody is saying anything about the interaction between AppleScript and the
new UI, but the beta should be out before too long and we will then see.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition
www.classicvb.org