![]() |
run vba code dynamically of another add-in workbook
i need to run vba code of my another add-in through my current add-in please help through vba... also posted here.. http://www.ozgrid.com/forum/showthread.php?t=40918 Basically i need to call 'Sub TestMacro' of file-2 from file-1. -- ilyaskazi ------------------------------------------------------------------------ ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969 View this thread: http://www.excelforum.com/showthread...hreadid=476207 |
run vba code dynamically of another add-in workbook
Another workbook
Application.Run "book2.xls!test_msgbox" with spaces in name Application.Run "'another book2.xls'!test_msgbox" .... with parameters Application.Run "book2.xls!test_msgbox", 4, 8 An add-in is just a workbook, so replace xxls with xla -- HTH RP (remove nothere from the email address if mailing direct) "ilyaskazi" wrote in message ... i need to run vba code of my another add-in through my current add-in please help through vba... also posted here.. http://www.ozgrid.com/forum/showthread.php?t=40918 Basically i need to call 'Sub TestMacro' of file-2 from file-1. -- ilyaskazi ------------------------------------------------------------------------ ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969 View this thread: http://www.excelforum.com/showthread...hreadid=476207 |
run vba code dynamically of another add-in workbook
Thankyou Bob for your kind help.. It is working. Great!! -- ilyaskaz ----------------------------------------------------------------------- ilyaskazi's Profile: http://www.excelforum.com/member.php...fo&userid=2396 View this thread: http://www.excelforum.com/showthread.php?threadid=47620 |
All times are GMT +1. The time now is 01:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com