I am using Excel 2010 on a Windows 7 Pro OS.
I have developed a simple weekly schedule spreadsheet for use by our project managers to help allocate junior engineering resources. There are two different divisions within the company and I have simple macro buttons that will hide/show the approriate rows for each division.
Instead of having absolute row references (i.e. 10 or 57), I have the macro search for the division name, which are in column A and are merged to encompass all appropriate rows. This way if I need to add/delete a division team member I won't have to change the row references each time in the VBA code.
The spreadsheet works without flaw as an unshared workbook or as a shared workbook with a single user. But when the workbook is shared and two users are in it simultaneously, if one person saves it and then another person saves it (not simultaneously, but in close succession) the merged cells in column A split, which ruins how my VBA code executes.
In addition, I have each worksheet protected and allow only unlocked cells to have minimal formatting allowed to them. The merged cells in column A are locked and therefore when protected/shared they cannot be formatted or even selected by the user.
So is there possibly a better way to code my macro? Or is it that in some way Excel on its own is splitting the merged cells?
Any help would be greatly appreciated,
Matt B.
I have developed a simple weekly schedule spreadsheet for use by our project managers to help allocate junior engineering resources. There are two different divisions within the company and I have simple macro buttons that will hide/show the approriate rows for each division.
Instead of having absolute row references (i.e. 10 or 57), I have the macro search for the division name, which are in column A and are merged to encompass all appropriate rows. This way if I need to add/delete a division team member I won't have to change the row references each time in the VBA code.
The spreadsheet works without flaw as an unshared workbook or as a shared workbook with a single user. But when the workbook is shared and two users are in it simultaneously, if one person saves it and then another person saves it (not simultaneously, but in close succession) the merged cells in column A split, which ruins how my VBA code executes.
In addition, I have each worksheet protected and allow only unlocked cells to have minimal formatting allowed to them. The merged cells in column A are locked and therefore when protected/shared they cannot be formatted or even selected by the user.
So is there possibly a better way to code my macro? Or is it that in some way Excel on its own is splitting the merged cells?
Any help would be greatly appreciated,
Matt B.