Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default why is select method invalid when sharing

This is a perfectly valid piece of code until I switch on
Sharing to enable a spreadsheet to be shared on a network
drive:
ActiveSheet.Shapes(strBlackButton).Select

I get the following error:
Run time error '-2147467259(80004005)':
Method 'Select' of object 'Shape' failed

Why doesn't this work when the spreadsheet is shared?
Is there another way to reference the button in order to
change its font colour?
Regards
Andy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default why is select method invalid when sharing

Hi
are you able to change the color manually in a shared workbook?. AFAIK
this is not possible for shared workbooks

--
Regards
Frank Kabel
Frankfurt, Germany

"andy gilhooly" schrieb im Newsbeitrag
...
This is a perfectly valid piece of code until I switch on
Sharing to enable a spreadsheet to be shared on a network
drive:
ActiveSheet.Shapes(strBlackButton).Select

I get the following error:
Run time error '-2147467259(80004005)':
Method 'Select' of object 'Shape' failed

Why doesn't this work when the spreadsheet is shared?
Is there another way to reference the button in order to
change its font colour?
Regards
Andy


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
Error: method 'select' of object_worksheet' failed Carl Excel Discussion (Misc queries) 4 September 9th 06 08:52 PM
RUNTIME ERROR '1004' --- Select method of worksheet class failed jawee Excel Programming 2 April 30th 04 06:47 AM
Select method of Range class failure Stuart[_5_] Excel Programming 3 February 24th 04 06:35 PM
Help with Select Case or Best Method Christina[_4_] Excel Programming 1 November 5th 03 06:15 PM
error 1004 Select method of Range class failed J.E. McGimpsey Excel Programming 1 September 12th 03 07:42 PM


All times are GMT +1. The time now is 03:19 PM.

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

About Us

"It's about Microsoft Excel"