Results 1 to 4 of 4

Save files to a Mapped Network Drive on server

Threaded View

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

    Re: Save files to a Mapped Network Drive on server

    You don't need chdir.
    This is all you need (provided cells A1:A5 contain valid Workbooknames, including extensions.
    Sub snb()
      for j=1 to 5
        thisworkbook.savecopyas "Z:\Individual_files\" & sheets("Lists").cells(j,1)
      next
    end sub
    Last edited by snb; 03-12-2012 at 06:52 AM.



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