ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Executing a VBA macro from within Excel 97 script (https://www.excelbanter.com/excel-programming/388055-executing-vba-macro-within-excel-97-script.html)

RickT

Executing a VBA macro from within Excel 97 script
 
I am running Excel 97. I have an application in it that is written in the
macro scripting language. The application works very well. I also have a VBA
macro that works very well when I execute it manually. However, I would like
to execute the VBA macro from within the application written in the scripting
language. I do not know, nor have I been able to find out, how to do it. All
help will be appreciated.
Thank you
RickT

Black country boy

Executing a VBA macro from within Excel 97 script
 
Open the Excel file you want to use, and go to View, toolbars, forms.
Draw a button from the toolbar.
It will then automatically open an Asign macro window,
Choose the macro from the list, and the macro will run by clicking the button.

"RickT" wrote:

I am running Excel 97. I have an application in it that is written in the
macro scripting language. The application works very well. I also have a VBA
macro that works very well when I execute it manually. However, I would like
to execute the VBA macro from within the application written in the scripting
language. I do not know, nor have I been able to find out, how to do it. All
help will be appreciated.
Thank you
RickT



All times are GMT +1. The time now is 12:42 AM.

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