Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbook_Open doesn't run Sune Excel Programming 2 September 16th 06 06:11 AM
Workbook_Open Mangus Pyke Excel Programming 13 September 12th 06 06:15 PM
Workbook_Open Kevin R Excel Programming 4 February 8th 05 12:53 PM
How to use workbook_open()? Susan Hayes Excel Programming 2 January 29th 05 03:43 PM
Workbook_Open Jim Zeeb[_2_] Excel Programming 8 December 3rd 04 11:54 PM


All times are GMT +1. The time now is 11:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"