ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   workbook_Open (https://www.excelbanter.com/excel-programming/391097-workbook_open.html)

Ernie

workbook_Open
 
I need help with this code

I get the error message "runtime error '1004'"

Private Sub Workbook_Open()
ConflictResolution = xlOtherSessionChanges
End Sub

When i try to set the option manually from the thisworkbook property field i
get the error message "Invalid Property Value". Can some please help me with
this situation? Are there any alternatives to turn to??

thanks in advance
Ernie

Gary''s Student

workbook_Open
 
How about:

Private Sub Workbook_Open()
ActiveWorkbook.ConflictResolution = xlOtherSessionChanges
End Sub
--
Gary''s Student - gsnu200728


"ernie" wrote:

I need help with this code

I get the error message "runtime error '1004'"

Private Sub Workbook_Open()
ConflictResolution = xlOtherSessionChanges
End Sub

When i try to set the option manually from the thisworkbook property field i
get the error message "Invalid Property Value". Can some please help me with
this situation? Are there any alternatives to turn to??

thanks in advance
Ernie


Ernie

workbook_Open
 
Hi,

Thanks for responding. I tried what you suggested but unfortunately i get
the same error message:

Run-time error '1004'
Application-defined or object-defined error

Any other suggestions?

Ernie
Thanks



"Gary''s Student" wrote:

How about:

Private Sub Workbook_Open()
ActiveWorkbook.ConflictResolution = xlOtherSessionChanges
End Sub
--
Gary''s Student - gsnu200728


"ernie" wrote:

I need help with this code

I get the error message "runtime error '1004'"

Private Sub Workbook_Open()
ConflictResolution = xlOtherSessionChanges
End Sub

When i try to set the option manually from the thisworkbook property field i
get the error message "Invalid Property Value". Can some please help me with
this situation? Are there any alternatives to turn to??

thanks in advance
Ernie


NickHK

workbook_Open
 
The workbook is shared ?

There was a recent post regarding this. I did a quick test in XL2002 and
this setting (xlOtherSessionChanges) always fails for me.
As there is no way to set this manually, maybe MS forgot to implement it,
but the enum exists.

NickHK

"ernie" wrote in message
...
Hi,

Thanks for responding. I tried what you suggested but unfortunately i get
the same error message:

Run-time error '1004'
Application-defined or object-defined error

Any other suggestions?

Ernie
Thanks



"Gary''s Student" wrote:

How about:

Private Sub Workbook_Open()
ActiveWorkbook.ConflictResolution = xlOtherSessionChanges
End Sub
--
Gary''s Student - gsnu200728


"ernie" wrote:

I need help with this code

I get the error message "runtime error '1004'"

Private Sub Workbook_Open()
ConflictResolution = xlOtherSessionChanges
End Sub

When i try to set the option manually from the thisworkbook property

field i
get the error message "Invalid Property Value". Can some please help

me with
this situation? Are there any alternatives to turn to??

thanks in advance
Ernie





All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com