Hello,
I am getting error Run type error 13 type mismatch in this code on line If FName = False Then
Can someone help me?Please Login or Register to view this content.
Hello,
I am getting error Run type error 13 type mismatch in this code on line If FName = False Then
Can someone help me?Please Login or Register to view this content.
Last edited by misop; 06-05-2012 at 04:10 AM.
I can't see where you would get an error in this code. Where do you get it?
Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
I am the real 'Napster'
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...
If you receive help please give thanks. Click the * in the bottom left hand corner.
snb's VBA Help Files
edited first post, thanks for remark
I still don't see how you would get an error there. If you click the cancel button, i will return a value of false for "FName"??? Are you using option explicit?
I am using this:
Option Explicit
Dim FName As String
Dim lrow As Long
Right if you hit button Cancel, it will pop up som msgbox
If i declare FName as integer i get a error 13.
Are you declaring FName somewhere, and if so, what type of variable are you giving FName?
change
toPlease Login or Register to view this content.
Please Login or Register to view this content.
Josie
if at first you don't succeed try doing it the way your wife told you to
It would be helpful if you post the whole code next time. As JosephP has pointed out, that should sort you error problem out.
Thanks,
this solve my problem:
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks