G
Grant
Hi,
I have already posted this (similar) question in the forum
Excel.Programming, but was told to post it here instead.
I am using VB.Net (Interop) and when I try to retrieve a value from a cell
it returns the number 3 instead of the actual value that is in the cell.
It happens for some of my cells, but others seem to work fine - I have no
idea what is happening.
I use Range("B4").Value or Range("B4").Text and also tried
Range("B4").FormulaR1C1, but still get that strange number 3 turning up.
It works for other cells (B3 returns the correct value, etc) but not others.
I only have one workbook open, and I specify the worksheet then the range.
I know it seems strange, but maybe there's a but using Excel Interop?
Any ideas?
Thanks in advance,
Grant.
I have already posted this (similar) question in the forum
Excel.Programming, but was told to post it here instead.
I am using VB.Net (Interop) and when I try to retrieve a value from a cell
it returns the number 3 instead of the actual value that is in the cell.
It happens for some of my cells, but others seem to work fine - I have no
idea what is happening.
I use Range("B4").Value or Range("B4").Text and also tried
Range("B4").FormulaR1C1, but still get that strange number 3 turning up.
It works for other cells (B3 returns the correct value, etc) but not others.
I only have one workbook open, and I specify the worksheet then the range.
I know it seems strange, but maybe there's a but using Excel Interop?
Any ideas?
Thanks in advance,
Grant.