logo elektroda
logo elektroda
X
logo elektroda

[Solved] [EXCEL] - Sharing Sheet with Macros & Tables on FTP Network: Overcoming Save Errors & Message

Darekstw 5823 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16989873
    Darekstw
    Level 8  
    Hello

    I have a problem, namely on network FTP I have excel sheets enriched with macros that copy and paste data from a table into a table in another tgz sheet. Main. Because saving the macro saves and closes both sheets, but it happens that another user can view the main sheet and have it running at that time, when you try to save, we get the message:

    [EXCEL] - Sharing Sheet with Macros & Tables on FTP Network: Overcoming Save Errors & Message

    Then the sheet is closed and there is a situation that the data has not been overwritten in the main sheet because another user had it fired.

    I wanted to share a workbook, but it contains tables and gets the following message:

    [EXCEL] - Sharing Sheet with Macros & Tables on FTP Network: Overcoming Save Errors & Message

    The question on my part is whether it is able to bite somehow differently to be able to share such a sheet?
  • ADVERTISEMENT
  • #2 16990392
    JacekCz
    Level 42  
    Yes

    Use a database
  • #3 16990445
    Darekstw
    Level 8  
    can it be a little brighter?
  • ADVERTISEMENT
  • #4 16992811
    Prot
    Level 38  
    Darekstw wrote:
    I have a problem, namely on network FTP I have excel sheets enriched with macros that copy and paste data from a table into a table in another tgz sheet. Main.


    Before you explain to me - what do you mean by the term on network FTP :?: I propose to do a little experiment :idea: :
    open two instances of Excel on your computer :arrow: in each of them open the same test file. xlsx :arrow: try to change anything on this sheet in one instance and keep these changes :arrow: :cry:

    Databases that your colleague suggests to you JacekCz have built-in mechanisms to prevent uncontrolled multiple access :idea: - but I get the impression that you must definitely change your original concept of network data exchange (what will the server do and what will the clients do?) :D
  • #5 17005028
    Darekstw
    Level 8  
    When I use the term network FTP, I mean a mapped network drive with read and write access to various workstations. On it there is a catalog with excel sheets in which users fill in the data and, after running, the macros save at the same time in the file in which they worked and fall into the sheet that collects the data collectively. However, the problem occurs when one of the users (client) is viewing the sheet and another wants to run a macro at this point to save new data in both his own and collective sheets. Sharing is not an option because I'm using tables in the worksheet. The question is how, then, from this sheet to create a database about which I am writing JacekCz?

    I would like it otherwise, if it is possible? Just do it in such a way that although one or more users are viewing the main sheet they are chopping the data into, another can use a macro on one of the other sheets and save the data in their own and the main sheet.
  • #6 17005575
    Prot
    Level 38  
    Unfortunately, I have no experience with network versions of office, but I have the impression that there it is necessary to install the appropriate group version of the application on the server (with a database or Excel files) and only to this server you set access to all terminals with appropriate permissions to individual files and actions on the server.

    You can also try changing the settings of these files on the network drive by changing the privacy protection options, and setting sharing a workbook or co-creation :idea: - however, I have no way of checking the operation of these options :D
  • ADVERTISEMENT
  • #7 17054926
    Darekstw
    Level 8  
    Prot wrote:
    Unfortunately, I have no experience with network versions of office, but I have the impression that there it is necessary to install the appropriate group version of the application on the server (with a database or Excel files) and only to this server you set access to all terminals with appropriate permissions to individual files and actions on the server.

    You can also try changing the settings of these files on the network drive by changing the privacy protection options, and setting sharing a workbook or co-creation :idea: - however, I have no way of checking the operation of these options :D


    As I wrote when I share the workbook, I have the error mentioned in the first post, but I was interested in option 1, which you suggested, can you clarify it a bit more?
  • #8 17054995
    Prot
    Level 38  
    Darekstw wrote:
    I was interested in option 1 you suggested

    My suggestion is related to the test analysis:
    Prot wrote:
    I propose to do a little experiment:
    open two instances of Excel on your computer in each of them open the same test file xlsx try to change anything in this sheet in one instance and keep these changes


    In a normal system this is impossible :cry: however, even theoretically, it is possible with the "workbook sharing" setting on the network server :D
    [EXCEL] - Sharing Sheet with Macros & Tables on FTP Network: Overcoming Save Errors & Message2018-02...png Download (82.2 kB)
  • #9 17070074
    Darekstw
    Level 8  
    That's right, but when I try to share the spreadsheet in the above-mentioned way, she gets the following message:

    [EXCEL] - Sharing Sheet with Macros & Tables on FTP Network: Overcoming Save Errors & Message

    I use tables and pivot tables in the worksheet.
  • #10 17070355
    Andie
    Level 22  
    Darekstw wrote:
    I use tables and pivot tables in the worksheet.

    In my opinion - either convert the table to traditional Excel ranges (then sharing should do the problem - although this is also not certain), or transfer the data to the Access database.


    andie
  • #11 17070366
    JacekCz
    Level 42  
    Andie wrote:
    Darekstw wrote:
    I use tables and pivot tables in the worksheet.

    In my opinion - either convert the table to traditional Excel ranges (then sharing should do the problem - although this is also not certain), or transfer the data to the Access database.


    andie



    The vast majority of excell's legacy does not fit the relational database in any way, starting from the very concept *). In practice, plow and make a good tool from scratch. Moreover, is Access just the best? It's still a file database, and on shared drives, data protection is so-so. It is 2018 and many tools, whether free or open source.

    There is not much in the Excel range for data division?

    *) I omit that 2/3 of the macros bravely solve - like socialism - problems unknown in other systems
  • ADVERTISEMENT
  • #12 17070385
    Prot
    Level 38  
    As the authors of Offica indicate feature-information-shared-workbook Unfortunately, this feature has serious limitations, including pivot tables :cry:
    I see you have a newer Offic - you can verify the new sharing mechanism there :idea:
  • #13 17072026
    Darekstw
    Level 8  
    Andie wrote:
    Darekstw wrote:
    I use tables and pivot tables in the worksheet.

    In my opinion - either convert the table to traditional Excel ranges (then sharing should do the problem - although this is also not certain), or transfer the data to the Access database.


    andie



    Unfortunately, I also use pivot tables in the worksheet, I cannot convert them to traditional ranges.

    So it looks like the project would be best done as a relational database? Excel, unfortunately, cannot cope with this type of topic
  • #14 17338238
    Darekstw
    Level 8  
    Excel is not able to cope with this topic, please use a relational database for this type of situation.

Topic summary

The discussion revolves around issues faced when sharing Excel sheets with macros on an FTP network. Users encounter save errors when multiple users access the main sheet simultaneously, leading to data loss. Suggestions include using a database to manage data more effectively, as Excel's sharing features have limitations, especially with tables and pivot tables. Alternatives discussed involve converting tables to traditional ranges or utilizing a relational database for better data handling and access control. The consensus is that Excel is not suited for this type of multi-user data management scenario.
Summary generated by the language model.
ADVERTISEMENT