I have a Word VBA application that one of the EE experts helped me with when I was still using my old 32-bit PC with Win 7, Now I'm on a 64-bit one running Windows 10, and have already changed the approrpriate Longs to "LongPtr" and the occurrences of "Len(cc)" to "LenB(cc)". But now, when I click the Choose Line Color (or Fill Color) I get a type mismatch error on the "RvalL = cc.rgbResult Mod 256" statement in the "Private Sub cmdLineColor_Click()" (and "Private Sub cmdFillColor_Click())" module, but only on my new 64-bit machine, not the old 32-bit one.
I don't know what else needs to be changed to get this to work on a 64-bit machine - can someone help? I don't know VBA well enough to be able to resolve this on my own.
Code is in the attachment.
Insert Shapes Application-New (64-bit).docm
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Expert of the Year award recognizes an expert who helped improve Experts Exchange in the past year through high levels of contributions and participation on site. This award is given to the expert who has achieved the highest levels of participation, while maintaining quality contributions and professionalism.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.