+ Reply to Thread
Results 1 to 4 of 4

Userform macro that will upload information to multiple worksheets

  1. #1
    Registered User
    Join Date
    01-18-2013
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Userform macro that will upload information to multiple worksheets

    Hey so I'm learning VBA right now and have realized how efficient it is, but i have a question regarding a project I'm working on. I currently have created a userform that uploads information placed in the textboxs in the next open cell . For instance, If excel hacks is in a textbox when i press submit it will send it to the next open column in the sheet.What I want to do is have the user form be able to read a name and depending on what name it reads send it to a specific sheet and also still document it in the overall summary sheet. IF that makes sense. Does anyone know how to do this?

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

    Re: Userform macro that will upload information to multiple worksheets

    Sure. Do you have a sample file that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    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
    Registered User
    Join Date
    01-18-2013
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Userform macro that will upload information to multiple worksheets

    Because of the project it is I can't actually upload the file here, but i can show an example of the code i'm using so far. As of now im using something like this:

    Please Login or Register  to view this content.
    As of now this code basically uploads all information into sheet2 in the next open cell. What i want for it to do is still upload the information in sheet two but depending on the name go into a specific sheet as well. For instance sheet3 is amy's list and sheet4 is henry's list. If amy puts her name and then her information and clicks submit I want all the info to be posted in sheet2 and then also in sheet3. and if henry puts his info in I want it to go into his sheet and the overall sheet.

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

    Re: Userform macro that will upload information to multiple worksheets

    You do not need to upload the original file you are working on. Even a sample file containing dummy data having the same format as your original file will do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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