LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Solved

I forgotten the GetHyperlinks


CString ls_cellPos;
ls_cellPos.Format("A%d", 3);
icl_hyperlinks = icl_oWksSheet.GetHyperlinks();
icl_hyperlinks.Add(icl_oWksSheet.GetRange(COleVari ant(ls_cellPos),
COleVariant(ls_cellPos)), "c:\\test.txt", covOptional, covOptional,
COleVariant("test"));

Tks

"Rui Oliveira" wrote:

C++ Excel automate, add hyperlink

How can I add a hyperlink in excel automation?

We have function €śHyperlink.Add€ť, but I dont know what insert in first
argument.

LPDISPATCH Add(LPDISPATCH Anchor, LPCTSTR Address, const VARIANT&
SubAddress, const VARIANT& ScreenTip, const VARIANT& TextToDisplay);

Anyone have some sample code?

Thanks,
Rui

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database problem to be solved... Please help! Nick M. Excel Discussion (Misc queries) 2 September 13th 08 01:02 AM
solved problem claude Excel Worksheet Functions 1 July 7th 06 08:14 PM
Solved it ToferKing Excel Programming 1 April 19th 06 10:27 PM
Chip, I solved it Roberto[_4_] Excel Programming 0 November 17th 03 04:37 PM
Excel/Web bug solved!!! Paul Excel Programming 0 August 28th 03 08:11 PM


All times are GMT +1. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"