Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

If doing it from code, unprotect the sheet, change the object, then protect
the sheet.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Jeff" wrote in message
...
I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change

is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

Hi Bob, I'm not writing in code. Just drag the object from VB toolbar and
change the data fields.

"Bob Phillips" wrote:

If doing it from code, unprotect the sheet, change the object, then protect
the sheet.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Jeff" wrote in message
...
I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change

is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

Jeff

What version of Excel?

2002 and newer allow "edit objects" in the list when protecting the worksheet.


Gord Dibben MS Excel MVP

On Mon, 26 Jun 2006 11:43:01 -0700, Jeff wrote:

I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

Hi Gord,

I'm using Excel 2003.

Perhaps I did not explain my case clearly. I'm now creating an Excel for
data input from other parties, so I need to create sort of user form. One of
the input field is a VB combo box consists of 4 options. I selected "allow
users to edit range" (also include cells of "Cell Link" from VB) and protect
the worksheet.

This user form works fine except the VB object. The user cannot change the
content of combo box once the worksheet is protected.

My question is: how can we let users to alter combo box selection while
protecting the worksheet at the same time. Note: my form always uses VB check
boxes and they are "frozen" when worksheet is protected.

Hope I explain my situation clearly to you, thanks.
Jeff.



"Gord Dibben" wrote:

Jeff

What version of Excel?

2002 and newer allow "edit objects" in the list when protecting the worksheet.


Gord Dibben MS Excel MVP

On Mon, 26 Jun 2006 11:43:01 -0700, Jeff wrote:

I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

Hi Gord,
I can send you my file if you want to take a closer look, thanks.
Jeff.

"Jeff" wrote:

Hi Gord,

I'm using Excel 2003.

Perhaps I did not explain my case clearly. I'm now creating an Excel for
data input from other parties, so I need to create sort of user form. One of
the input field is a VB combo box consists of 4 options. I selected "allow
users to edit range" (also include cells of "Cell Link" from VB) and protect
the worksheet.

This user form works fine except the VB object. The user cannot change the
content of combo box once the worksheet is protected.

My question is: how can we let users to alter combo box selection while
protecting the worksheet at the same time. Note: my form always uses VB check
boxes and they are "frozen" when worksheet is protected.

Hope I explain my situation clearly to you, thanks.
Jeff.



"Gord Dibben" wrote:

Jeff

What version of Excel?

2002 and newer allow "edit objects" in the list when protecting the worksheet.


Gord Dibben MS Excel MVP

On Mon, 26 Jun 2006 11:43:01 -0700, Jeff wrote:

I created some VBA objects like drop-down-list, checkbox. However, when I
protect the worksheet, I cannot change the VBA objects to another value.
Error message appears saying "The cell or chart you are trying to change is
protected and therefore read-only".

Can I all users to edit the VBA ojects while the worksheet is protected?
Thank you very much.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default Allow users to edit ranges for VBA objects

Problem solved!

The "cell link" in VB objects will return value to certain cells. I right
clicked those cells, selected "format cells", under "Protection" tab,
UNCHECKED the "Locked" checkbox.

Then I can protect the worksheet, and change the VB objects!


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
"Allow users to edit range." Office 03 vs. 97... RH Excel Discussion (Misc queries) 2 May 16th 05 08:30 PM
Allow users to edit range query manxshaun Excel Discussion (Misc queries) 7 April 15th 05 11:31 PM
Protected Cell DME Excel Worksheet Functions 4 April 9th 05 12:26 AM
Protecting Workbook Paul Cooling Excel Discussion (Misc queries) 2 March 7th 05 11:55 AM
Multiple excel users can open the same file and edit at the same . Jeff Howard Excel Discussion (Misc queries) 1 February 18th 05 12:19 PM


All times are GMT +1. The time now is 06:54 AM.

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"