+ Reply to Thread
Results 1 to 2 of 2

Saving file in current directory after accessing file in another directory

  1. #1
    Registered User
    Join Date
    10-28-2011
    Location
    Belgrade, Serbia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Saving file in current directory after accessing file in another directory

    Hi all,

    New here, so cheers to all!

    My problem is next: I need to open a excel sheet, run a macro (which I already have) that will open a new existing sheet in a always constant location on network, do some process on that sheet, and as a result create new file in the folder of original file, something like:

    1. step: open \\some network folder\some file A, where file A and its location can be different each time
    2. step: starting macro which opens \\determined network location\determined file B, where as it is said, file B is always the same and on same location
    3. step: calculates whatever needed, creates new file some file C as a result, and
    4. step: saves that some file C to a original opened file location - \\some network folder\some file A

    Thanks!

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Saving file in current directory after accessing file in another directory

    You can't open a sheet, only a workbook (= Excel file, that contains sheets).

    Also your Excel program has a macrorecorder. Why not using it ?



+ 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