+ Reply to Thread
Results 1 to 3 of 3

opening two files simultaneously

  1. #1
    Registered User
    Join Date
    02-13-2006
    Posts
    46

    opening two files simultaneously

    i need to copy first 10 rows from file1 and pasting in file2. i am writing the code as

    Please Login or Register  to view this content.
    but while opening the second file it gives an error as bad file name or number.

    please help me out and let me know how to handle two files simultaneously.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello ashishprem,

    You need to use the FreeFile statement to return the number of the next available file buffer.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    02-13-2006
    Posts
    46
    thanks buddy. it worked..

+ 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