+ Reply to Thread
Results 1 to 2 of 2

Transfer values to master sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2008
    Posts
    2

    Transfer values to master sheet

    Hi all,

    I've agreed to do a nice task which seems nigh impossible, or more likely just annoying as my VB coding isn't that great at the moment.

    What i have to do is:

    - Pass information from mutliple files to a master file
    - Each multiple file will have to run a macro when accessed which then gives the values to be transferred

    Now the problem i have is figuring out how to get information from one file to the next. In the master file is a list of project codes, i.e BC112, and consequently this is the name of a 'multiple file'.

    So i believe it best to write a macro which looks up the project code name, then uses this to open the subsequent named 'multiple file'. Then the macro runs and i can begin to pull values from the various cells and populate the master file.

    To begin with does it sound like a good feasible direction to head?

    Regards Wolfe

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by cdrwolfe
    Hi all,

    I've agreed to do a nice task which seems nigh impossible, or more likely just annoying as my VB coding isn't that great at the moment.

    What i have to do is:

    - Pass information from mutliple files to a master file
    - Each multiple file will have to run a macro when accessed which then gives the values to be transferred

    Now the problem i have is figuring out how to get information from one file to the next. In the master file is a list of project codes, i.e BC112, and consequently this is the name of a 'multiple file'.

    So i believe it best to write a macro which looks up the project code name, then uses this to open the subsequent named 'multiple file'. Then the macro runs and i can begin to pull values from the various cells and populate the master file.

    To begin with does it sound like a good feasible direction to head?

    Regards Wolfe
    Yes, that's exactly the right approach. Building up a filename from code values / dates and other variables held in cells somewhere is a fairly standard approach.

    Rgds

+ 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