I have a 'sheet macro' named Tabname_1 which simply renames the sheet tab based upon a cell value in the sheet. (By 'sheet macro' I mean that special kind of macro you create by right clicking on the tab name and selecting 'View Code'. It only applies to the current sheet.) Now I want to run this sheet macro within another larger macro that exists in the same workbook. But when I put 'Call Tabname_1' in the main macro I get the error: 'Sub or function not defined'. I also tried simply putting Tabname_1 instead of Call Tabname_1. But I get the same error.
Is there some special syntax to call a sheet macro within a normal macro? Thanks
Bookmarks