+ Reply to Thread
Results 1 to 4 of 4

Importing Data from Multiple Excel Forms into Multiple Tabs in New Workbook

  1. #1
    Registered User
    Join Date
    06-13-2014
    Posts
    7

    Importing Data from Multiple Excel Forms into Multiple Tabs in New Workbook

    I had started a thread for importing data from multiple excel files: http://www.excelforum.com/excel-gene...ml#post3734721

    I figured out that portion, but want to take it a step further. I would like to be able to have a selection on my excel form for which "category" the information belongs to... there are 4 categories "SC" "Todd" "PS" and "Contract" I attempted writing the following code but it only writes to the "contract" tab never to the other regardless of what input I have given for K3 on my form. So my if/else must not be functioning the way I intend. any guidance would be much appreciated.

    Thanks.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    06-13-2014
    Posts
    7

    Re: Importing Data from Multiple Excel Forms into Multiple Tabs in New Workbook

    Not sure I am describing my intent properly... I am trying to have the files be able to write into multiple sub -category tabs. in other words I want a summary page of all "Sc" forms, all "PS" forms, all "contract" forms, and all "todd" forms but dont want to have to presort them before running the macro. I want the macro to sort the information into the corresponding tabs on its own.

    Sorry that I do not know how to better describe this.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Importing Data from Multiple Excel Forms into Multiple Tabs in New Workbook

    Moved the set wsMain within the loop

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Registered User
    Join Date
    06-13-2014
    Posts
    7

    Re: Importing Data from Multiple Excel Forms into Multiple Tabs in New Workbook

    thanks for your help!

+ 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. Replies: 3
    Last Post: 06-16-2014, 04:49 PM
  2. [SOLVED] Importing Multiple text documents into Different Tabs in Excel
    By jzy2101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 09:40 AM
  3. Importing multiple data files to run through excel workbook and save separately
    By Robo25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-30-2013, 12:25 PM
  4. Importing data from multiple word forms into a single Excel spreadsheet with vba
    By marble2009 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-15-2011, 10:31 AM
  5. importing data from multiple tabs
    By squinne in forum Excel General
    Replies: 6
    Last Post: 05-07-2009, 03:14 PM

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