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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
What is the value of DataRange when it errors? what have you declared DataRange as?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

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