|
-
Dec 17th, 2009, 06:12 AM
#1
Thread Starter
New Member
Activate Macro - External Program
Good Morning Everyone,
I have a macro that opens a file and CSV formats.
I run a function in my other program that calls the macro XLA. But the macro does not run.
What do I need to run the macro when the call is for external program?
My macro has one Sub and two Private Function. The Sub is the first. Its correct? I tried Sub and Function, but doesnt work.
Tks everyone
Hugs
Caio
-
Dec 18th, 2009, 01:45 AM
#2
Re: Activate Macro - External Program
you need something to start the code running in the workbook open event
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Dec 21st, 2009, 08:54 PM
#3
Fanatic Member
Re: Activate Macro - External Program
I am not grasping the context.
Which program/workbook is doing the opening?
Which program/workbook macro is supposed to fire that does not?
Can you describe the order of your events and what program/workbook is doing these?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|