OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 11-09-2016, 00:23
noj noj is offline
Join Date: Oct 2011
Location: Sydney
Posts: 31
Default Help with Error

Just installed CorelDraw Graphics Suite X8 on a new machine and transferred a GSM file which I was using on my laptop running X6 across to the required X8 location. In the GSM file I have some code that runs on the SelectionChange event (under CorelDRAW X8 Objects / ThisMacroStorage) which has worked fine in X6 however now when I open a new document in X8 on the new machine and click anywhere on the screen I get Error 13 Type Mismatch which goes yellow at the line:
If FaceMaker.Visible = True Then
FaceMaker is the name of one of the custom forms I created.
It's got me stumped. Any suggestions?
Reply With Quote
Old 03-12-2016, 23:21
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,788
Blog Entries: 12
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Custom Form

Is the Custom Form on the X8 Machine?

You can also comment out that line and see if it is the issue.

Another way to make sure what line is cause the problem is to set a break point very early in the code and then step each line with F8.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ccompile error in hidden module - error message katruax CorelDRAW/Corel DESIGNER VBA 5 05-10-2012 18:38

All times are GMT -5. The time now is 23:01.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com