You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have a routine which do some calculations. I created it in Excel 2010 and it worked OK, but when I opened it in Excel 2003, then reading cell's value causes "Type mismatch" even when variable is Variant (before variant I used type Double and used conversion function CDbl).
Here's cell's value: 0,927381412344606
Here's variable: Dim vValue as Variant
Here's assigning: dValue = Cells(i, "I")