+ Reply to Thread
Results 1 to 3 of 3

unknown file name

  1. #1
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    unknown file name

    Is there any script that will activate the last workbook opened or any script to assist with the scenario below:

    I have script that opens 1 file at a time in specified folder. Once the file is opened my script then opens a new template.xls and then copys everything from the opened file to the new template and saves it with the same file name as the file opened but in a different location. the problem arises when I copy from the open file to the new template, as i need to copy four lots of data on different sheets in the file so i need the macro to be able to recognise the opened file and filp to and fro from it. (ps all the files in the folder have different names at the moment I have to do each file individual but if i could get this script to recognise the opened file I can do all the files at flick of button)

    Need any furthe clarification , post me..

    Please help

  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 khalid79m,

    Can you post some sample code or a zipped copy of the workbook?

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    thanks

    SORRY BEEN ill for while thanks for the help

+ 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