+ Reply to Thread
Results 1 to 3 of 3

Hi Guys.. need some help

Hybrid View

  1. #1
    Registered User
    Join Date
    11-01-2016
    Location
    manchester, uk
    MS-Off Ver
    2010
    Posts
    4

    Hi Guys.. need some help

    Hi guys ...new to forum... am moderately good in Excel but trying to get head a round VB... so was looking for some help.

    My problem

    I want to extract multiple cell (specific cells) data from multiple sheets to make a table for easy analysis. I am trying VB as this would be the easiest and each sheet has 100 or so specific cells. Below is what I want to do, below that is the code I have found but cant figure out how to alter it to get it to retrieve additional lines. Can anyone help... thanks

    What I am looking for is basically
    Macros go to sheet2 and get data from C1, C5, D10, E15, C22 etc and get put data into sheet 1 across column.
    Macros go to sheet3 and get data from C1, C5, D10, E15, C22 etc and get put data into sheet 1 across column, below previous data

    .....
    Does this make sense? And I will be adding additional sheets as the work goes on....


    Sub MakeSummaryTable()
    Dim ws As Worksheet

    Application.ScreenUpdating = False
    Sheets("Sheet1").Activate

    For Each ws In Worksheets
    If ws.Name <> "Sheet1" Then
    ws.Range("C10").Copy
    ActiveSheet.Paste Range("A65536").End(xlUp).Offset(1, 0)
    End If
    Next ws

    Application.ScreenUpdating = True

    End Sub

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

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    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
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: Hi Guys.. need some help

    Hi muthomi kiragu
    Welcome to Excel Forum

    This is just the Sub Forum to say hello
    Unfortunately you are posting incorrectly ( and have Possibly in your haste have not read the Rules which you agreed to on registering. This makes it difficult for the people here to help you, many of which will likely be keen to do so )

    You must start a new Thread here if you need help:

    http://www.excelforum.com/excel-general/
    or here:
    http://www.excelforum.com/excel-formulas-and-functions/
    or if you would consider a macro solution then here:
    http://www.excelforum.com/excel-programming-vba-macros/

    If you are not sure, then probably the first will do
    http://www.excelforum.com/excel-general/

    _............................................

    Please, also, if you get time, take some time before posting to read the Forum Rules here
    http://www.excelforum.com/forum-rule...rum-rules.html
    http://www.excelforum.com/forums-rules/
    http://www.excelforum.com/showthread...09#post4494031
    It is usually worth it in the long run.

    Thanks

    _..............................................

    P.s. Unless someone is very familiar with having done something exactly as you are doing, then I think you may need to give a bit more detail. Some test data is helpful
    Remember to reduce the amount of test data to the minimum required to demonstrate typical scenarios. Desensitize the data if necessary.
    Show us clearly what you have and the results you want to achieve.
    Please do not use images as we cannot copy them to a worksheet.

    Some ways to do this ( Most people here upload a Workbook )
    Either:
    Post screenshots COPYABLE to a Spreadsheet: – See my signature below,
    or here:
    http://www.excelforum.com/excel-prog...ml#post4399581
    Practice here:
    http://www.excelforum.com/development-testing-forum/

    OR:
    Upload a Workbook
    : See here:
    http://www.excelforum.com/the-water-...his-forum.html ( Method 2 and Method 3 )
    http://www.excelforum.com/suggestion...ml#post4335120
    OR:
    There is also the file share site option such as this free thing:
    https://app.box.com/signup/personal
    (_ .Remember to select Share after uploading and give us the link they provide if you use that )
    But Note: a lot of people can’t / won’t download a File from an external site. So this method is not preferred here
    For security reasons and to increase your chances of a response, It is preferable to upload a File with no codes in it and post any codes in the Thread ( using Code Tags # )

    OR:
    Select the table Icon above, select an appropriate size table and fill it in (If replying to a Thread you may need to select the Go Advanced Button, ( bottom right of reply Window ) to get the Table Icon to show )


    Practice Posting techniques here:
    http://www.excelforum.com/development-testing-forum/

    Thanks,
    Alan
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

+ 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. Hi guys
    By mzad811 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-08-2014, 10:32 PM
  2. sup guys
    By urbncowboy in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-29-2013, 10:29 PM
  3. Hi Guys Need a little help ........
    By ericmax79 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2013, 10:39 AM
  4. Hi Guys!
    By amunaaz in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-12-2013, 09:02 PM
  5. Hi Guys
    By arthur1974 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-23-2013, 05:02 AM
  6. Hello guys how are you?
    By msbunny in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-09-2013, 03:55 AM
  7. Hello Guys!
    By danjim02 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-05-2013, 07:04 AM
  8. Hey Guys
    By silvergrahm in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-27-2013, 07:08 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