I have Select Same v3 running on one win10PC CorelDRAW2021 but will not run on a 2nd win10PC w/CorelDRAW2021.
Any suggestions?
Could you elaborate on what you mean by, "will not run"? What are you seeing when you try to run it?
Clicking the icon or RUNning from Scripts does nothing.
Hi,
See if you can run any macro on the problem system, including the ones CorelDRAW ships with.
Also: Suggested Tip: Force VBA to load when you first run CorelDRAW. Otherwise, icons for macros may be grayed out.
Go in VBE and place a break point on its first code line (click on it and press F9).
Try running the code and see if it stop on that line. Probably, not... It is possible that VBE itself to be missing.
If you are able to open VBE, is the GMS file present in the Project Explorer. Theoretically, yes, if you can see the macro to be run, but just in case...
This should mean that VBA is corrupted. I would suggest you to try Corel Repair (Control panel).
If this does not work, you should specifically reinstall VBA. I do not have installation kit for 2021, but I suppose that it has the same structure. In 2018, for instance, you should go `Installation kit -> x64 -> MSIs -> VBA`.
Right click on 'Vba71.msi` and choose `Install`.
Do the same for 'Vba71_1033.MSI` (for English).
Supposing that 2021 installation kit looks the same, this should solve the problem. If not the same, try searching for VBA and see where such a folder can be found...
Edited:
I downloaded now an installation kit and everything looks to be on the same path.
Now, I can see/deduce that VBA works for other macros on the second computer installation, only "Select Same v3" ( I do not know what it is) doesn't. If so, my above suggestion will not be of any help, I am afraid...
RoyBrewer said:Clicking the icon or RUNning from Scripts does nothing.
My reply here assumes that VBA in CorelDRAW appears to be working correctly on the system in question - that other VBA macros are working, and you're only seeing problems with Select Same 3.
With CorelDRAW not open, you could try using the Registry Editor to remove the Select Same information:
HKEY_CURRENT_USER\SOFTWARE\VB and VBA Program Settings\SelectSame
.
After doing that, you could restart CorelDRAW and try using Select Same again.
Indeed, all other macros seem to be working fine.
Select Same is 'locked' so I can't put a break point in it.
Removed registry entries and it now works! Thanks!