Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

How to resolve error 13 - type miss match

  Asked By: Sam    Date: Sep 12    Category: MS Office    Views: 833
  

i am declaring a variable as integer.

but i am passing a string to that variable, then its giving a runtime
error 13 "type missmatch".
can any give an idea how to validate stings and variables.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Anat Massri     Answered On: Sep 12

Why are you passing  a string  to an integer? You can use the VAL function to
convert the string into an integer.

 
Didn't find what you were looking for? Find more on How to resolve error 13 - type miss match Or get search suggestion and latest updates.




Tagged: