Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Excel Interop

$
0
0

Hello guys,

I have to make an application that extracts specified cell values into an Access database. One field, can contain only numbers but also can contain text only.

At the moment im using this:

string _refKlant = excelWorksheet.get_Range("C7", "C7").get_Value();

I can't use more than one variable because of my query command. So my general question is: how can I check if the excel cell-value is a string or a number?

Thanks in advance!




Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>