Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
How do I call an vba application code within vba code. I have two application which is saving excel file and the other one is doing some manipulation of data, but I want to call the other application within the main vba code. How could I do that? Appreciate your help. TIA Les |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Les
You just type the name of the macro to be called within the main macro. e.g. Sub Main() Dim i, j 'and other declarations 'youre code 'Call the macro mySave 'the code switches to the next macro End sub Sub mySave() FileSave() 'this code is run and after End sub completes the Main Macro End Sub Peter -----Original Message----- Hi There, How do I call an vba application code within vba code. I have two application which is saving excel file and the other one is doing some manipulation of data, but I want to call the other application within the main vba code. How could I do that? Appreciate your help. TIA Les . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I call VBA subs from different spreadsheet from code behind form? | Excel Discussion (Misc queries) | |||
Compiled data from many files | Excel Worksheet Functions | |||
Excel code to call a macro when a certain value in a cell isselected. | Excel Worksheet Functions | |||
Can you call a Web Service from Excel 2007 without writing code? | Excel Discussion (Misc queries) | |||
how can i call sub or function in vba code | Excel Discussion (Misc queries) |