+ Reply to Thread
Results 1 to 5 of 5

Too large-how do I split

  1. #1
    Daniel R. Young
    Guest

    Too large-how do I split

    I have a very large marco that I want to split and make the macro smaller.
    The code is in one sheet and I am very new to this. I was told to make to
    macros and then use this:

    Sub master ()
    Macro1
    Macro2
    End Sub

    How do split these two macros and where do I place the sub master? Does the
    sub master go on the main sheet that I am using?

    Can someone do a step by step for me? I would really appreciate it.

    Thank you

    Daniel

  2. #2
    Toppers
    Guest

    RE: Too large-how do I split

    Hi,
    Send me your code and I'll look at it off-line.

    [email protected]



    "Daniel R. Young" wrote:

    > I have a very large marco that I want to split and make the macro smaller.
    > The code is in one sheet and I am very new to this. I was told to make to
    > macros and then use this:
    >
    > Sub master ()
    > Macro1
    > Macro2
    > End Sub
    >
    > How do split these two macros and where do I place the sub master? Does the
    > sub master go on the main sheet that I am using?
    >
    > Can someone do a step by step for me? I would really appreciate it.
    >
    > Thank you
    >
    > Daniel


  3. #3
    Elizabeth
    Guest

    RE: Too large-how do I split

    Toppers:
    If you provided Daniel with a solution, would you mind posting it to this
    site. I too am new to VBA & would be very interested in your code. Thank
    you.
    Elizabeth

    "Toppers" wrote:

    > Hi,
    > Send me your code and I'll look at it off-line.
    >
    > [email protected]
    >
    >
    >
    > "Daniel R. Young" wrote:
    >
    > > I have a very large marco that I want to split and make the macro smaller.
    > > The code is in one sheet and I am very new to this. I was told to make to
    > > macros and then use this:
    > >
    > > Sub master ()
    > > Macro1
    > > Macro2
    > > End Sub
    > >
    > > How do split these two macros and where do I place the sub master? Does the
    > > sub master go on the main sheet that I am using?
    > >
    > > Can someone do a step by step for me? I would really appreciate it.
    > >
    > > Thank you
    > >
    > > Daniel


  4. #4
    Toppers
    Guest

    RE: Too large-how do I split

    Hi,
    I haven't got the code! but it was only a minor modification the
    code supplied by Tom Ogilvy in the original postings so he should really get
    the credit. The solution was as per Tom's post - simply loop through
    (calculated) ranges rather have each individual range hard coded as per Dan's
    original posting.

    No magic solution!

    HTH

    "Elizabeth" wrote:

    > Toppers:
    > If you provided Daniel with a solution, would you mind posting it to this
    > site. I too am new to VBA & would be very interested in your code. Thank
    > you.
    > Elizabeth
    >
    > "Toppers" wrote:
    >
    > > Hi,
    > > Send me your code and I'll look at it off-line.
    > >
    > > [email protected]
    > >
    > >
    > >
    > > "Daniel R. Young" wrote:
    > >
    > > > I have a very large marco that I want to split and make the macro smaller.
    > > > The code is in one sheet and I am very new to this. I was told to make to
    > > > macros and then use this:
    > > >
    > > > Sub master ()
    > > > Macro1
    > > > Macro2
    > > > End Sub
    > > >
    > > > How do split these two macros and where do I place the sub master? Does the
    > > > sub master go on the main sheet that I am using?
    > > >
    > > > Can someone do a step by step for me? I would really appreciate it.
    > > >
    > > > Thank you
    > > >
    > > > Daniel


  5. #5
    Elizabeth
    Guest

    RE: Too large-how do I split

    Toppers:
    Once again, I must admit to my newness. When you refer to "the
    code supplied by Tom Ogilvy in the original postings", what do you mean,
    what original postings? I don't see a Reply from Mr. Ogilvy. Thank you.
    Elizabeth

    "Toppers" wrote:

    > Hi,
    > I haven't got the code! but it was only a minor modification the
    > code supplied by Tom Ogilvy in the original postings so he should really get
    > the credit. The solution was as per Tom's post - simply loop through
    > (calculated) ranges rather have each individual range hard coded as per Dan's
    > original posting.
    >
    > No magic solution!
    >
    > HTH
    >
    > "Elizabeth" wrote:
    >
    > > Toppers:
    > > If you provided Daniel with a solution, would you mind posting it to this
    > > site. I too am new to VBA & would be very interested in your code. Thank
    > > you.
    > > Elizabeth
    > >
    > > "Toppers" wrote:
    > >
    > > > Hi,
    > > > Send me your code and I'll look at it off-line.
    > > >
    > > > [email protected]
    > > >
    > > >
    > > >
    > > > "Daniel R. Young" wrote:
    > > >
    > > > > I have a very large marco that I want to split and make the macro smaller.
    > > > > The code is in one sheet and I am very new to this. I was told to make to
    > > > > macros and then use this:
    > > > >
    > > > > Sub master ()
    > > > > Macro1
    > > > > Macro2
    > > > > End Sub
    > > > >
    > > > > How do split these two macros and where do I place the sub master? Does the
    > > > > sub master go on the main sheet that I am using?
    > > > >
    > > > > Can someone do a step by step for me? I would really appreciate it.
    > > > >
    > > > > Thank you
    > > > >
    > > > > Daniel


+ 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