Run-time erroe 13 type mismatch

djzero83

New Member
Joined
Feb 1, 2019
Messages
1
I have a problem with an exel file. I work in a company and we use a file to analyze employee performance. When I open the file and enter the parameters of the day and time to see the productivity, exel reworks the file (connecting to an internet page of the company system) returning me the error Run-time error 13 type mismatch. The string code is:
NumRows = UBound(DataRange). I have analized the string in "Watch Windows" and the result is:
Expression Value Type
NumRows 0 Long
UBound(DataRange) type mismatch Integer

What is the problem? My colleagues don't have this problem. Thanks so much.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
What is the value of DataRange when it errors? what have you declared DataRange as?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top