A non-IT class was assigned by a team project in which the work that it does will be performed is a single .xlsx file. The participants decided that the best way to co-edit this file would be to split it into their own sheets, upload each * .xlsx sheet to the SVN repository, and use the locks and the .txt file to organize the responsibility of the sheet / member.
The group split the specified files into a VB script (kindly provided by this wonderful site), which was as follows:
Sub SaveSheets()
Dim strPath As String
Dim ws As Worksheet
Application.ScreenUpdating = False
strPath = ActiveWorkbook.Path & "\"
For Each ws In ThisWorkbook.Sheets
ws.Copy
'Use this line if you want to break any links:
BreakLinks Workbooks(Workbooks.Count)
Workbooks(Workbooks.Count).Close True, strPath & ws.Name & ".xlsx"
Next
Application.ScreenUpdating = True
End Sub
Sub BreakLinks(wb As Workbook)
Dim lnk As Variant
For Each lnk In wb.LinkSources(xlExcelLinks)
wb.Breaklink lnk, xlLinkTypeExcelLinks
Next
End Sub
, , . , .xlsx .
EDIT 4/2: // , "" script, , , , . , , , - .
EDIT 4/2: Excel - 2010 - .
EDIT 4/3: , , / ( , ).