Dear All,
I was asked to create a complaints and compliments database in excel with the ability to produce some reporting.
So from the database tab I created various pivot tables. Which, as per the code below refresh upon activation
Private Sub Worksheet_Activate()
ActiveSheet.PivotTables("_RespondedInTimeByDept").PivotCache.Refresh
Application.AlertBeforeOverwriting = False
End Sub
Private Sub Workbook_Open()
Worksheets("Home Page").Activate
End Sub
The workbook also contains various other macros.
The problem is that the workbook must be Shared so as that people can access it and update it at the same time.
To my annoyance, and even more so to that of my boss. I have discovered that these macros do not work on a shared workbook.
Does anyone know how i can overcome this.?
Thanks alot
Private Sub CommandButton1_Click()
Call Print_Sheet
End Sub
Private Sub CommandButton2_Click()
ActiveWorkbook.Close SaveChanges:=True
End Sub
Sub QuickHideUnhide()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If ws.Tab.Color = vbRed Then ws.Visible = Not ws.Visible
Next ws
End Sub
Bookmarks