Results 1 to 8 of 8

Copy Data from multiple sheets to Main datasheet

Threaded View

bogleda Copy Data from multiple... 05-06-2014, 01:42 PM
xladept Re: Copy Data from multiple... 05-06-2014, 04:58 PM
bogleda Re: Copy Data from multiple... 05-07-2014, 10:28 AM
xladept Re: Copy Data from multiple... 05-07-2014, 05:42 PM
xladept Re: Copy Data from multiple... 05-07-2014, 03:19 PM
bogleda Re: Copy Data from multiple... 05-08-2014, 02:03 PM
xladept Re: Copy Data from multiple... 05-08-2014, 02:19 PM
xladept Re: Copy Data from multiple... 05-09-2014, 01:42 PM
  1. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy Data from multiple sheets to Main datasheet

    Hi Bogleda,

    Here's one to load your Table of Context:

    Sub Bogleda(): Dim wt As Worksheet, ws As Worksheet, t As Long, r As Long, i As Long, D
    Set wt = Sheets("Table of Context"): t = wt.Range("A" & Rows.Count).End(xlUp).row + 1
    For Each ws In Worksheets
    If ws.Name = wt.Name Or ws.Name = "CONVERSIONS" Or ws.Name = "DropDown Menus" Then GoTo GetNext
    r = 4: Do Until ws.Range("A" & r) = "": r = r + 1: Loop
    D = ws.Range(ws.Cells(4, 1), ws.Cells(r, 6)): r = r - 4
    For i = 1 To r: D(i, 6) = ws.Name: Next i
    wt.Range(wt.Cells(t, 1), wt.Cells(t + r, 6)) = D
    t = t + r
    GetNext: Next
    End Sub
    I'm thinking about the change event code now

    Here's a start! F-S886 (Material Properties Database).xls

    And - Welcome to the forum
    Last edited by xladept; 05-06-2014 at 05:51 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy data from multiple sheets to one main based on cell value
    By jdjenterprises in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-28-2013, 10:13 PM
  2. Replies: 2
    Last Post: 02-06-2013, 11:25 AM
  3. [SOLVED] Macro to get/copy data from multiple secondary sheets to main sheet
    By CaatalyyN616 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-29-2012, 04:22 AM
  4. copy data from main sheet to respective sub sheets
    By sshanku1985 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-14-2011, 12:26 PM
  5. Copy Varying Range Sizes from Multiple Sheets to Main Sheet
    By Wester in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2010, 03:12 PM

Tags for this Thread

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