ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Activate code from another VBAProject (https://www.excelbanter.com/excel-programming/344519-activate-code-another-vbaproject.html)

MVM

Activate code from another VBAProject
 
I have several workbooks each with two sheets, one data & the other is
upload. I copy data to upload sheet. If cell value changes a flag is put in
the row in column 1. I am trying to automate this. I wrote a macro in a new
workbook. I am opening the file, copying the data and pasting the data in
upload sheet. I want to call in the flagging subroutine from the book i am
modifying.

I can reference the vbaproject of the book to my vbaproject, but hten I
can't clos that book before opening the next book. I appreciate, ideas,
suggestions ..
thank you
Murthy

venkat1926[_3_]

Activate code from another VBAProject
 

Is it possible to park the macro in personal.xls file in which case i
will be avialbale for any workbook you open??

hope i have understood your questiion

--
venkat1926Posted from - http://www.officehelp.i


MVM

Activate code from another VBAProject
 
Thank you Venkat:
The problem here is - flgging function calls two macros hidden in that
workbook we are modifying. Probably late binding approach may work, I am
trying that.
Flagging is important because only flagged rows will be uploaded. Oracle
Financials creates these templates to which we copy some data and upload. we
need to invoke template hidden macros.

Any ideas?
Murthy

"venkat1926" wrote:


Is it possible to park the macro in personal.xls file in which case it
will be avialbale for any workbook you open??

hope i have understood your questiion.


--
venkat1926Posted from - http://www.officehelp.in




All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com