+ Reply to Thread
Results 1 to 6 of 6

Sorting Data Problem

Hybrid View

  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    London
    Posts
    17

    Sorting Data Problem

    Hello

    This is my first post here so I help someone can help me.

    I have a excel workbook, with 100 sheets in. I need to collate certain cells of data (the same cells on each of the sheets) into a new sheet.

    I look forward to hear ing back from you!

    Many thanks

    Nick

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671
    Nick welcome,
    This is possible.
    Certain Cells
    , what are the criteria?
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    09-23-2008
    Location
    London
    Posts
    17
    hello

    Thank you for the reply

    Each of the sheets has a small table on. I need the data from

    A3
    B3
    L1
    L3

    & if possible the title of the sheet

    the data is exactly the same on each sheet, and I need to collate it onto a new sheet.

    Again thank you for your help!

  4. #4
    Registered User
    Join Date
    09-23-2008
    Location
    London
    Posts
    17
    here is a cut down version of the file, maybe it will help to make sense of what im after

    THANK YOU!
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Sorting Data Problem

    Sub collect()
    Dim Ws As Worksheet
    Dim WsCount As Long
    Dim ColSheet As Worksheet
      Set ColSheet = Worksheets("Sheet1")
      WsCount = 2
      For Each Ws In Worksheets
        If Ws.Name <> "Sheet1" Then
          ColSheet.Cells(WsCount, "A").Value = Ws.Range("A3")
          ColSheet.Cells(WsCount, "B").Value = Ws.Range("B3")
          ColSheet.Cells(WsCount, "C").Value = Ws.Range("L1")
          ColSheet.Cells(WsCount, "D").Value = Ws.Range("L3")
          ColSheet.Cells(WsCount, "E").Value = Ws.Name
        End If
        WsCount = WsCount + 1
      Next
    End Sub
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-23-2008
    Location
    London
    Posts
    17
    Thank you

    Works perfectly, just what i needed!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data sorting, perhaps?
    By The Mekon in forum Excel General
    Replies: 4
    Last Post: 07-15-2008, 02:10 PM
  2. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  3. importing data:What i would like to do is be able to import
    By censura in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2007, 08:32 AM
  4. Sort Data Problem
    By d888nc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2007, 11:42 AM

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