N
Nicke
Hi, I've used vb.net for 3 hours(!) now and have probably
a very easy question. In my VB6 programs I use For Each
Cell in Range... very often which not seems to work in
vb.net.
Ex.
Dim Cell As Excel.Range
Dim xl as Excel.Application
xl = New Excel.Application
For Each Cell In xl.Range("A1:C4")
What is wrong here? I get "Unknown interface" (if I have
translated it correctly) in the For... statement.
Thanks in advance.
/Nicke
a very easy question. In my VB6 programs I use For Each
Cell in Range... very often which not seems to work in
vb.net.
Ex.
Dim Cell As Excel.Range
Dim xl as Excel.Application
xl = New Excel.Application
For Each Cell In xl.Range("A1:C4")
What is wrong here? I get "Unknown interface" (if I have
translated it correctly) in the For... statement.
Thanks in advance.
/Nicke