Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Macros in shared Workbook.

I have a client who requires VBA code in their shared workbook.

The workbook is to have a dropdown box inserted over a cell and the user
choose a value to enter into the cell. This all works great until I actually
share the Workbook. I then get the message "Unable to get ADD property of
dropdown class".

Could this be something to do with permissions and if it is how do I get the
macros to run ????

Any help would be great

best regardss

Seasider



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Macros in shared Workbook.

In case the requirement is only to have a dropdown box, then there is
no need for VBA code.
Go to DATA menu
Select VALIDATION
In the ALLOW dropdown box, select LIST
Enter values separated by commas in the SOURCE box(e.g)a,b,c
Click OK

This holds goods provided you are the user who share the workbook and
the aim of the dropdown box is just to select a value.In case you want
to add another dropdown box, remove share wrokbook facility, make your
changes and then share it agian.

In case of VBA code in a shared workbook, you cannot use the visual
basic editor in your workbook is shared.

Shared workbook is for only entering data by different users. It is
suggested to restrict programming in these books.

If you have a resource where Visual basic code could be written in a
shared workbook while sharing, kindly mail me

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Macros in shared Workbook.

Many thanks for the reply.

I have solved this by changing the Dropdown box to a dialogue box.

The VBA code is executed successfully for each sharer of the workbook, but
one thing I have noticed is the file size.

The user copies a master workbook and creates a weekly shared workbook from
it, the file size of the master workbook is 133k. When the user has finished
the week the workbook can be in excess of 4MB, but the text content is
nothing like that large.

Is there any overhead in these types of workbook?

Seasider.


wrote in message
ups.com...
In case the requirement is only to have a dropdown box, then there is
no need for VBA code.
Go to DATA menu
Select VALIDATION
In the ALLOW dropdown box, select LIST
Enter values separated by commas in the SOURCE box(e.g)a,b,c
Click OK

This holds goods provided you are the user who share the workbook and
the aim of the dropdown box is just to select a value.In case you want
to add another dropdown box, remove share wrokbook facility, make your
changes and then share it agian.

In case of VBA code in a shared workbook, you cannot use the visual
basic editor in your workbook is shared.

Shared workbook is for only entering data by different users. It is
suggested to restrict programming in these books.

If you have a resource where Visual basic code could be written in a
shared workbook while sharing, kindly mail me



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
Some macros not working on shared workbook KevHardy Excel Discussion (Misc queries) 8 February 8th 10 07:39 AM
Macros in Shared Workbook Matt Excel Discussion (Misc queries) 6 September 13th 07 08:36 PM
Shared Workbook and Macros Bernardo Lozano[_2_] Excel Programming 0 February 17th 05 04:59 PM
Macros Running Slow in a Shared workbook MichaelLove Excel Programming 1 April 2nd 04 08:03 PM
Macros in Shared Workbook No Name Excel Programming 0 April 2nd 04 07:09 PM


All times are GMT +1. The time now is 11:14 AM.

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"