Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hI gUYS,

 

i have 2 questions to inquire..

 

1) Lets say i want to create a hyperlink programatically using c#, HOW do i do it? Maybe i want to place a hyperlink in cells(1,1) linking to cells(1,3)

 

 

2) Is it possible to run an excel macro (placed in excel file) using c#..

Means that i open my application using c#, then i run the macro in the excel file from my c# application..How can i achieve this

 

Really appreciate it if some guidance can be provided ..thank you very much..

Posted

Found a way to run macro..but still cant find solution for the first question

 

oXL.Run("TEST",Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

Type.Missing,Type.Missing,Type.Missing,Type.Missing,

 

Type.Missing,Type.Missing,Type.Missing);

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...