Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 10th, 2007, 11:37 AM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mapping columns and then copying data

Hello,
  My problem is :

1. i have one workbook in that there is a worksheet named Mapping which i will write according to my need as follows and also run macro with this excel file to generate a worksheet Data with columns name marked with *:

........Input........ -------------output--------------
D4 Project info > D Data Unit name*(output file column name)
D7 Project info > E Data Project name*
G8 Effort info > F Data ProjectID*
H8 Project detail G Data effectiveness*
This table can as long as possible

1. Input files are many and have many worksheet.
2. output file "any name" that has worksheet named "Data" will be consist columns marked with * .
3.when i click a button through my mapping file a worksheet named Data will generate automatically and has columns names marked with *.
4. After generating worksheet named "Data" copy data from
   many source files.

    for e.g
    WorkbookName.projectinfo.D4 copy WorkbookName.Data.D.Unitname
     WorkbookName.projectinfo.D7 copy WorkbookName.Data.E.projectname
      WorkbookName2.Effortinfo.G8 copy WorkbookName.Data.F.ProjectID
  and so on
Please help me in writing this macro.











Similar Threads
Thread Thread Starter Forum Replies Last Post
copying input data to another worksheet with code kwik10z Excel VBA 3 November 2nd, 2007 01:45 PM
data selection and mapping with dropdownlist gagansharma7 ASP.NET 1.0 and 1.1 Basics 0 June 27th, 2006 11:41 AM
Mapping of Data From Various Columns paul31Hampshire Access VBA 12 June 2nd, 2006 02:23 AM
Copying data across files sda443 Excel VBA 2 January 16th, 2006 06:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.