ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Imported Visual Basic Module - Save Macros for use in Excel (https://www.excelbanter.com/excel-discussion-misc-queries/249922-imported-visual-basic-module-save-macros-use-excel.html)

Pat Adams

Imported Visual Basic Module - Save Macros for use in Excel
 
I've imported a module into visual basic editor and have saved it, but can't
seem to pull up the macros in excel. thanks.

Gord Dibben

Imported Visual Basic Module - Save Macros for use in Excel
 
You mean they don't show up in a list of Macros?

Maybe it is a Class Module or all macros within the module are Private

Private Sub hello_macro()
MsgBox "hello"
End Sub

Will not be listed in ToolsMacroMacros

You can access by typing the macroname and "Run"


Gord Dibben MS Excel MVP

On Wed, 2 Dec 2009 13:02:02 -0800, Pat Adams
wrote:

I've imported a module into visual basic editor and have saved it, but can't
seem to pull up the macros in excel. thanks.




All times are GMT +1. The time now is 11:14 PM.

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