Results 1 to 7 of 7

Help with copying info from one excel to another in one action (Attachments)

Threaded View

brolsen Help with copying info from... 01-02-2015, 01:26 PM
davesexcel Re: Help with copying info... 01-02-2015, 03:28 PM
brolsen Re: Help with copying info... 01-02-2015, 03:58 PM
cory0789 Re: Help with copying info... 01-02-2015, 04:13 PM
brolsen Re: Help with copying info... 01-02-2015, 06:05 PM
davesexcel Re: Help with copying info... 01-02-2015, 04:24 PM
davesexcel Re: Help with copying info... 01-02-2015, 06:25 PM
  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007
    Posts
    16

    Exclamation Help with copying info from one excel to another in one action (Attachments)

    Hello and Happy New Year Excel Geniuses!

    I have constructed a code that I gathered from some other work I have performed and I am really close to having it do what I want.

    Attached are two files (FileToOpen & FileWithVBA).
    On FileToOpen there are two tabs with data "Before" and "After"
    On FileWithVBA there are the same tabs, but there is no data save for the headers of the columns.

    There is a button on FileWithVBA that when clicked, asks the user to open a file. If you select FileToOpen it will run code and then it will ask you again to open a file (click FileToOpen again) and when this is completed, the information from FileToOpen will be transported to FileWithVBA.

    What I am trying to accomplish is I want FileWithVBA to complete BOTH codes with only clicking the file one time. I have tried a variety of codes and keep getting errors about already compiling or naming components.
    If you save the two files and run the code, you will see what I mean by clicking the FileToOpen more than once.

    Couple things:
    1.) Can't create code with "FileToOpen" in the code because the name of the file for this code will be different for each person, hence why I need to have the user select a file.
    2.) Can't transport the sheet because I need the information copy and pasted, not moved.

    if someone can figure out how to make both run without selecting the file twice, I would be super appreciative! Thanks for looking!
    Thank you!!!
    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. Extract XLS* attachments from select mails, save mail info into fields
    By Alteregoist in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2013, 05:35 AM
  2. Replies: 1
    Last Post: 04-02-2010, 06:14 AM
  3. Copying excel info to notepad
    By shawnbecklar in forum Excel General
    Replies: 2
    Last Post: 12-11-2009, 11:07 PM
  4. VBA keyboard action, formatt no, no info windows
    By ineedhelp2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2005, 03:00 PM

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