Consulting

Results 1 to 2 of 2

Thread: Sleeper: Save sheet as csv to specific network folder

  1. #1
    VBAX Newbie
    Joined
    May 2012
    Posts
    5
    Location

    Sleeper: Save sheet as csv to specific network folder

    First and most important, I am doing all of this with Excel 2011 for Mac. I have a macro that was originally written to parse a report provided by a client into a usable Excel worksheet. The code allows the user to select a file from the finder window and then parses the data into a spreadsheet. The new step that they would like me to do is to take the completed worksheet and filter it based on a data range that they would put into a user form. I would then replace the date field with a text field indicating a stage. That is all very easy. Here is the hard part, I need to now save the worksheet as a csv that I can import into a SQL database. I am taking all of the information and reporting back to the client based on a months worth of data that will most likely reach 100K rows of data. What I would like to do is after the processing is complete, save the file to a specific network folder where I can pick it up and load it into SQL. The file that is saved will need to be saved so that the user can recall it if necessary. My question is how to identify the network drive within VBA when I save the file. I have done this on Windows but have never done it on a Mac, I have always used MacScript to call the finder.

    Any help would be greatly appreciated.

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •