+ Reply to Thread
Results 1 to 3 of 3

Excel-VB Macro Variables

  1. #1
    Eunice W
    Guest

    Excel-VB Macro Variables

    I have not worked with macros but I think I could use one to really speed
    things up. How do I assign a variable in VB to pick up the name of an Excel
    file that changes each time I open a new file? I have to open many files,
    and copy various cells to another spreadsheet. Any ideas?

  2. #2
    Norman Jones
    Guest

    Re: Excel-VB Macro Variables

    Hi Eunice,

    See Ron de Bruin at:

    http://www.rondebruin.nl/copy3.htm

    for sample code and techniques.


    ---
    Regards,
    Norman



    "Eunice W" <[email protected]> wrote in message
    news:[email protected]...
    >I have not worked with macros but I think I could use one to really speed
    > things up. How do I assign a variable in VB to pick up the name of an
    > Excel
    > file that changes each time I open a new file? I have to open many
    > files,
    > and copy various cells to another spreadsheet. Any ideas?




  3. #3
    Eunice W
    Guest

    Re: Excel-VB Macro Variables

    Thank you Norman, looks like just the ticket. How ever did you locate this!

    "Norman Jones" wrote:

    > Hi Eunice,
    >
    > See Ron de Bruin at:
    >
    > http://www.rondebruin.nl/copy3.htm
    >
    > for sample code and techniques.
    >
    >
    > ---
    > Regards,
    > Norman
    >
    >
    >
    > "Eunice W" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have not worked with macros but I think I could use one to really speed
    > > things up. How do I assign a variable in VB to pick up the name of an
    > > Excel
    > > file that changes each time I open a new file? I have to open many
    > > files,
    > > and copy various cells to another spreadsheet. Any ideas?

    >
    >
    >


+ 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