Results 1 to 7 of 7

Creating macro to populate specific cells from master sheet to work sheet

Threaded View

  1. #1
    Registered User
    Join Date
    03-14-2013
    Location
    Perth, Singapore
    MS-Off Ver
    Excel 2010
    Posts
    13

    Creating macro to populate specific cells from master sheet to work sheet

    Hi all,

    I'm trying to write a macro that copies specific cells from a large spreadsheet of data onto another sheet. Eg. The job number from the Sales Enquiries sheet (A5) needs to be copied (values only, no formatting) into the Job Sheet (I2), the Scope of Work (Sales Enquiries, A5) needs to be copied to Job Sheet B16 etc. Likewise, the values in the Sales Enquiries J5:M5 needs to be copied to Machining Task Sheet H12:H15. PLEASE NOTE: not all information on the Sales Enquiries sheet is relevant to the other sheets, so the cell pairings are colour-coded in the example sheet attached.

    This macro needs to be relative, so that when I have the active cell as a job number in the Sales Enquiries sheet (column A) when I run the macro, it auto-populates the relevant row with the relevant data from that same row (eg. A569 would populate the other sheets with the selected cells from row 569 and so on). I would like the macro to execute using Ctrl + Shift + Z.

    I have set up the Machining Task Sheet to simply extract some of the data from the relevant cells on the Job Summary sheet, so no macro required except for the hours (column H). When I try to simply record the macro using this copy/paste method, the macro returns a run-time error and does not work. If I record just one task like copying the job number, it works fine. But when I try to include the multiple cells as required, it returns an error.

    Any help would be much appreciated!!

    Tatyana
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Populate master sheet from feeder sheet
    By llJAEll in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2014, 11:57 AM
  2. To populate data to a new sheet from a master sheet.
    By saptarshi27 in forum Excel General
    Replies: 1
    Last Post: 07-22-2014, 01:01 PM
  3. Auto populate from a master sheet to another sheet
    By velvethammer in forum Excel General
    Replies: 8
    Last Post: 06-11-2014, 02:36 PM
  4. Want to auto populate an excel sheet from a master sheet of data
    By M>E> in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2014, 03:34 PM
  5. Macro to populate a word template and feed an excel master sheet
    By hieldy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2013, 05:40 AM
  6. For work procedures - cut cells and paste into master sheet
    By jayblack in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 11:57 AM
  7. Replies: 6
    Last Post: 07-25-2012, 07:55 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