When trying to assign a string to the Value2 property of a Range:
WorksheetA.get_Range("A1",Type.Missing).Value2=curValue.Trim();
I'm getting this error message:
Object reference not set to an instance of an object.
Any suggestions?
When trying to assign a string to the Value2 property of a Range:
WorksheetA.get_Range("A1",Type.Missing).Value2=curValue.Trim();
I'm getting this error message:
Object reference not set to an instance of an object.
Any suggestions?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks