+ Reply to Thread
Results 1 to 6 of 6

Set automatically generated csv file to be shared

  1. #1
    Registered User
    Join Date
    02-03-2011
    Location
    VA
    MS-Off Ver
    Excel 2003
    Posts
    17

    Set automatically generated csv file to be shared

    Hi, programming experts!

    I have a csv file with process parameters automatically generated by a machine. The file is created on a new day when the first run is made on machine. Afterwards the machine appends data to the file as new runs occur.
    I want to create a dashboard in Excel updated frequently to keep track of process parameters. Everything seems straightforward but I cannot seem to share an csv file.
    My questions are:
    How do I make a csv file shared?
    How do I repeat the attempt to make it shared if, during my attempt to make it shared, the file was accessed my machine trying to append a new record to the file?

    As I see the only plausible option for now is to create a shared Excel copy of the csv file and work with it, but this seems to be a bit awkward solution.

    I would very much appreciate your assistance with this.

    Regards,
    Dmitry
    Last edited by dmitry; 02-17-2012 at 09:53 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Set automatically generated csv file to be shared

    A csv file is just a text file really so I don't see that you will be able to allow shared access to it as such.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    02-03-2011
    Location
    VA
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Set automatically generated csv file to be shared

    Thanks for the prompt response!

    I used this code and when I open the "new" renamed csv file, it says [Shared].

    What am I missing?

    Please Login or Register  to view this content.

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Set automatically generated csv file to be shared

    You're not actually saving it as a csv file. You're saving an Excel file and just calling it a csv file name which is different. You need to specify a csv format if that's what you require but it won't be able to be shared I don't think.

    Dom

  5. #5
    Registered User
    Join Date
    02-03-2011
    Location
    VA
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Set automatically generated csv file to be shared

    I see. I guess the only option is to save a xls copy every x seconds to have an up-to-date file.

    Thank you for your input, Dom!

  6. #6
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Set automatically generated csv file to be shared

    Sounds like you need a database rather than a spreadsheet.

    Dom

+ 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