Shared Workbook "Catastrophic Failure" - Excel 2010

CavityCrepe

New Member
Joined
Apr 7, 2011
Messages
2
In Excel 2010 I am trying to add a small function to several of the workbooks that we use throughout the office so that we can quickly see when the last update was made and by who. The function works fine when the workbook is not shared, but whenever I share it, any time you open it up you get the "Automation Error Catastrophic Failure" message.

I believe it is the Application.Volatile that is messing it all up, because whenever I comment out that line everything works fine, it just doesn't update right, so i would have to type the function into the cell every time i wanted to view the last time it was updated.

Do you have any ideas on a work around or a possible fix? The internet at large has had no solution thus far.

Code:
Function LstSvDt() As Variant
Application.Volatile
LstSvBy = ActiveWorkbook.BuiltinDocumentProperties(12)
End Function
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Could you put it in the WorkBook_Open procedure and then it could update a specific cell with the info. when the workbook opens.

Located in the Thisworkbook module...
Code:
Private Sub Workbook_Open()
Sheets("Sheet1").Range("A1").Value = ActiveWorkbook.BuiltinDocumentProperties(12)
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,567
Messages
6,179,571
Members
452,927
Latest member
whitfieldcraig

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top