Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default do anybody have a sample code for executing excel macro from vb code?<eom



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default do anybody have a sample code for executing excel macro from vb code?<eom

xlapp.run "macroname", any arguments [the ugly way]
or callbyname
or wb.ws.yourProc
if you post your vb code and vba routine and I'll do a full example
Access is cleaner if your vba code is in classes either your own or behind
the excel objects
cheers
Simon

"B Deepak" wrote in message
...




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default do anybody have a sample code for executing excel macro from vb code?<eom

Simon,

As such, I dont have any specific requirement. But for the time being, I
have to define a macro with array as a argument. And this macro should be
called from our vb class with array as a argument.

Waiting for ur reply...
Thanks,
Deepak
"Simon Murphy" wrote in message
...
xlapp.run "macroname", any arguments [the ugly way]
or callbyname
or wb.ws.yourProc
if you post your vb code and vba routine and I'll do a full example
Access is cleaner if your vba code is in classes either your own or behind
the excel objects
cheers
Simon

"B Deepak" wrote in message
...






Reply
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
code sample for executing a VB function in Excel using perl newOLE Excel Worksheet Functions 7 August 10th 05 10:26 PM
VC7.1++ Excel add-in sample code? Visual Studio 2003 Lars Schouw Excel Programming 0 February 23rd 04 11:10 AM
Blogs, sites, books, sample code, Excel+VBA+Finance Robert[_16_] Excel Programming 2 February 4th 04 12:22 PM
Excel VBA code executing a variable as a Sub. John Dempsey Excel Programming 3 October 3rd 03 10:34 AM
Problems executing Excel VBA code in Microsoft Office 2003 Umesh Excel Programming 3 July 24th 03 12:45 AM


All times are GMT +1. The time now is 05:34 PM.

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

About Us

"It's about Microsoft Excel"