+ Reply to Thread
Results 1 to 5 of 5

how do i merge two macro into one ?

Hybrid View

  1. #1
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: how do i merge two macro into one ?

    Sub RunBoth
      Delete_Rows
      ConvertToNumber
    End Sub

  2. #2
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: how do i merge two macro into one ?

    Quote Originally Posted by Kenneth Hobson View Post
    Sub RunBoth
      Delete_Rows
      ConvertToNumber
    End Sub
    Wow, that's all you need?!? That's awesome! I've always written it as:

    Application.Run "Macro Name Here"

  3. #3
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: how do i merge two macro into one ?

    Well, you do need to run the RunBoth sub in one of the many ways to run/play a macro. The Application.Run method is used to run a macro from some other open workbook typically.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1