+ Reply to Thread
Results 1 to 2 of 2

Copying data without opening the workbook

Hybrid View

  1. #1
    Mayank Prakash Gupta
    Guest

    Copying data without opening the workbook

    Hi All,

    Is there a way in which I can copy data from some named ranges in a excel
    workbook without actually opening it. I have to do it through VBA. The idea
    is to get the data from a file into the file which is running the VBA code.

    Please help, its very urgent.

    TIA
    Mayank



  2. #2
    Dave Peterson
    Guest

    Re: Copying data without opening the workbook

    Why not just open the file, retrieve the data and close the file.

    If you use
    application.screenupdating = false
    'your code to retrieve the data
    application.screenupdating = true

    the user won't even know how it worked.

    Mayank Prakash Gupta wrote:
    >
    > Hi All,
    >
    > Is there a way in which I can copy data from some named ranges in a excel
    > workbook without actually opening it. I have to do it through VBA. The idea
    > is to get the data from a file into the file which is running the VBA code.
    >
    > Please help, its very urgent.
    >
    > TIA
    > Mayank


    --

    Dave Peterson

+ 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