+ Reply to Thread
Results 1 to 4 of 4

Consolidating multiple workbooks and worksheets

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Consolidating multiple workbooks and worksheets

    HI Everyone,
    I am trying to consolidate multiple workbooks and worksheets using vba. I am having a problem with consolidating multiple cells, i can't use range method because they are not in consecutive rows or column. I have to consolidate cells from multiple workbooks with multiple worksheets, cells to consolidate are something like F3, F11, F19, F27 etc... Currently I am using this to just select one cell:

    With mybook.Worksheets("Monthly Metrics report")
    Set sourceRange = .Range("F3")

    It would be great if i could get any type of help with this.


    Thank you in Advance.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Consolidating multiple workbooks and worksheets

    Can you post your entire code here which consolidates the workbooks, so we can help you fit this piece in?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Consolidating multiple workbooks and worksheets

    Hi,Below you can find the entire code:

    Please Login or Register  to view this content.
    Thanks
    Last edited by arlu1201; 04-20-2013 at 01:51 AM.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Consolidating multiple workbooks and worksheets

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. In order to put code tags, either type [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] at the end of it, OR you can highlight your code and click the # icon at the top of your post window.

+ 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