adrivetest
Member
- Joined
- May 19, 2009
- Messages
- 5
- Programming Experience
- Beginner
I've been looking all over the net and can't seem to find out what exactly is causing the error that i'm getting when trying to add a hyperlink to a cell inside excel through visual basic 2008.
the line that is throwing HRESULT: 0x800A03EC :
(col & row) will create something like "A1"
xlSheetResult.Hyperlinks.Add(Anchor:=xlSheetResult.Range(col & row), Address:="", SubAddress:= _
xlSheetResult.Name & "!" & col & row, TextToDisplay:="Test")
Funny thing is , on some excel file it works without the exception.
the line that is throwing HRESULT: 0x800A03EC :
(col & row) will create something like "A1"
xlSheetResult.Hyperlinks.Add(Anchor:=xlSheetResult.Range(col & row), Address:="", SubAddress:= _
xlSheetResult.Name & "!" & col & row, TextToDisplay:="Test")
Funny thing is , on some excel file it works without the exception.