Results 1 to 1 of 1

VBA to upload data to a file in a network folder

Threaded View

nugundam93 VBA to upload data to a file... 06-24-2019, 12:21 PM
  1. #1
    Registered User
    Join Date
    05-03-2007
    MS-Off Ver
    2016
    Posts
    38

    VBA to upload data to a file in a network folder

    Hi All,

    Below is a part of the macro that we currently use to upload data from the New Form tab onto the Data tab of the same file:

    Sub Save_Data()
        Application.ScreenUpdating = False
        Dim srcWS As Worksheet, desWS As Worksheet, bottomA As Long
        Set srcWS = Sheets("New_Form")
        Set desWS = Sheets("Data")
        bottomA = desWS.Range("A" & desWS.Rows.Count).End(xlUp).Row + 1
    How can I make it so that the macro will now upload the data to a file saved in a network folder? For example, the path is \\phil.company.com\cmp\dept_folder\program\Raw files\Evaluations and the filename is Raw Data.xlsb, and will have the same tab "Data".

    Thank you.
    Last edited by nugundam93; 06-24-2019 at 03:13 PM.
    "All your Dakar are belong to Pajero" 11 Dakar Rally wins...7 straight since 2001.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. File open dialog box default to specified sub folder (on a network)
    By BanginMyHeadOnMyDesk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2016, 04:46 PM
  2. [SOLVED] Hyperlink to network folder from Outlook. File name contains spaces.
    By Rschwar23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2013, 06:10 PM
  3. Macro to upload file from Folder
    By gcXL in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-19-2012, 12:16 PM
  4. [SOLVED] VBA to create a folder on a network drive before saving the file to it?
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2011, 10:23 AM
  5. Saving .xlsx in a network folder through a .xlsm file
    By jambai in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2011, 04:09 PM
  6. Replies: 6
    Last Post: 10-07-2009, 08:12 PM
  7. Replies: 4
    Last Post: 03-05-2005, 04:06 PM

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