Author Topic: Run-time error  (Read 3375 times)

0 Members and 1 Guest are viewing this topic.

One Shot

  • Guest
Run-time error
« on: October 14, 2005, 02:30:06 PM »
I am getting a Run-time error '13':

Type mismatch.

What does this mean and how do you fix it?

Thank you,

Brad
« Last Edit: October 14, 2005, 06:03:31 PM by Mark Thomas »

Guest

  • Guest
Re: Run-time error
« Reply #1 on: October 14, 2005, 03:17:14 PM »
It means your code is throwing a wobbly.   :-)


The cause of it could be a couple of things.  The VBA help file will explain this; just type "type mismatch" and you'll get your answer.


Matt W

Murphy

  • Guest
Re: Run-time error
« Reply #2 on: October 14, 2005, 04:04:13 PM »
If you could post your code and tell us what line the error is popping up on we could help you better.

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Run-time error
« Reply #3 on: October 14, 2005, 04:07:04 PM »
Not a fix to your routine but his one works...

http://www.theswamp.org/forum/index.php?topic=1466.msg34725#msg34725

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Run-time error
« Reply #4 on: October 14, 2005, 06:03:04 PM »
Sorry but that code should not be posted on theswamp.
Quote
'Written permission must be obtained to distribute this software.
TheSwamp.org  (serving the CAD community since 2003)

One Shot

  • Guest
Re: Run-time error
« Reply #5 on: October 14, 2005, 06:04:33 PM »
Sorry about that!

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: Run-time error
« Reply #6 on: October 14, 2005, 06:08:52 PM »
Sorry about that!

Not a problem. You might want to give Mr. Bell a shout, he can probably help ya out.
TheSwamp.org  (serving the CAD community since 2003)

Jim Yadon

  • Guest
Re: Run-time error
« Reply #7 on: October 17, 2005, 12:46:47 PM »
In the mean time, it may help you to understand your problem or at least formulate a better question if you read up on data types in your VBA guide (F1 without a selection highlighted usually takes you there).
« Last Edit: October 17, 2005, 12:49:56 PM by Jim Yadon »