Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how can i run excel/word macro to C# .net programs
i have macro in excel sheet in which data is sorted and some other functions.
i want to use that macro in C# .net how can i use that. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how can i run excel/word macro to C# .net programs
What exactly doy ou mean by using the macro in C#.net? Do you want to
activate or run the macro in the Excel workbook from C#, or do you want to use the functionality of the macro in your C# program? On Oct 30, 8:04 am, Aaqib wrote: i have macro in excel sheet in which data is sorted and some other functions. i want to use that macro in C# .net how can i use that. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
how can i run excel/word macro to C# .net programs
yes, i want both
1) Activate and run the macro in the Excel workbook from C#, 2) Use the functionality of the macro in your C# program? please answer whatever way you understand instead of re-asking. :( " wrote: What exactly doy ou mean by using the macro in C#.net? Do you want to activate or run the macro in the Excel workbook from C#, or do you want to use the functionality of the macro in your C# program? On Oct 30, 8:04 am, Aaqib wrote: i have macro in excel sheet in which data is sorted and some other functions. i want to use that macro in C# .net how can i use that. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
how can i run excel/word macro to C# .net programs
You can use the Run method to run an existing macro. E.g.,
XLAppRef.Run "Book1.xls!TheMacroName" -- Cordially, Chip Pearson Microsoft MVP - Excel, 10 Years Pearson Software Consulting www.cpearson.com (email on the web site) "Aaqib" wrote in message ... yes, i want both 1) Activate and run the macro in the Excel workbook from C#, 2) Use the functionality of the macro in your C# program? please answer whatever way you understand instead of re-asking. :( " wrote: What exactly doy ou mean by using the macro in C#.net? Do you want to activate or run the macro in the Excel workbook from C#, or do you want to use the functionality of the macro in your C# program? On Oct 30, 8:04 am, Aaqib wrote: i have macro in excel sheet in which data is sorted and some other functions. i want to use that macro in C# .net how can i use that. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lost Excel and Word from our Start/All Programs menu | Excel Discussion (Misc queries) | |||
Calling other programs in Macro | Excel Programming | |||
opening different programs with excel macro buttons | Excel Worksheet Functions | |||
Excel macro takes focus from other programs | Excel Programming | |||
Excel VBA - Executing external programs in an excel macro | Excel Programming |