+ Reply to Thread
Results 1 to 4 of 4

How do I automatically transfer data from one Excel report to another?

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    ndemene
    MS-Off Ver
    Excel 2010
    Posts
    74

    How do I automatically transfer data from one Excel report to another?

    Hello to whomever is reading this.

    I'm assuming this will require macro programming which I've never done before. Does Microsoft Office 2010 support Python 3 (and other language) macros or just VBA? Also, how does VBA differ syntactically from the "normal" (.NET and pre-.NET) Visual Basic? Does VBA have the exact same syntax as the pre-.NET Visual Basics (that is, versions 6.0 and earlier)?

    Also, is "recording a macro" basically doing things graphically and having Office make the code for you behind the scenes?

    Any input would be greatly appreciated!

  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: How do I automatically transfer data from one Excel report to another?

    Your title and your post dont match at all.

    is "recording a macro" basically doing things graphically and having Office make the code for you behind the scenes?
    You are right. You can then make the required changes by removing the unwanted code lines and including loops, etc.
    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
    11-06-2012
    Location
    ndemene
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: How do I automatically transfer data from one Excel report to another?

    Hello, thank you for your answer and, about your comment saying the title not matching my post, sorry, I was sleepy when I wrote the post so my thoughts must of been all over the place.

    Since then, I've done quite a bit of research and I've come up with the following macro which doesn't run successfully. Just to say, WorkBook1.xlsm and WorkBook2.xlsm are in the same folder and they each have only one work sheet.:

    Please Login or Register  to view this content.
    The Microsoft Visual Basic compiler says:
    Run-time error '424':
    Object required
    and suggests that the
    Please Login or Register  to view this content.
    syntax is what's at fault.

    I'm thinking that I need to make an object for a clipboard or something so that I can run that operation but I'm confused as to how I should proceed from here.

  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: How do I automatically transfer data from one Excel report to another?

    All you need is this -
    Please Login or Register  to view this content.

+ 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