Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Combo Box Protection Problem

I have a worksheet that has several example problems. The worksheet has
hundreds of rows of text and text boxes. I have created a combobox to link to
different example problems in the worksheet (because of the many rows). At
the end of each example problem I have a link that takes the user back to the
top of the worksheet. When the user clicks "^top" the combobox is deleted and
a new combobox is formed with the first example problem listed in the box
(which is viewed when the worksheet is loaded). When I protect the worksheet
the macro for deleting the combobox will not run and causes an error. I then
protected my worksheet with "Edit Objects" checked on the protection menu.
However, when I do this, all of my text boxes are able to be edited. I dont
want this. So is there anyway that I can protect everything on the sheet but
allow my program to delete the combobox? Any help will be greatly appreciated!
Thank You!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Combo Box Protection Problem

Have your macro unprotect the sheet, delete the combobox, reprotect the sheet.

--
Regards,
Tom Ogilvy


"mtm4300 via OfficeKB.com" wrote:

I have a worksheet that has several example problems. The worksheet has
hundreds of rows of text and text boxes. I have created a combobox to link to
different example problems in the worksheet (because of the many rows). At
the end of each example problem I have a link that takes the user back to the
top of the worksheet. When the user clicks "^top" the combobox is deleted and
a new combobox is formed with the first example problem listed in the box
(which is viewed when the worksheet is loaded). When I protect the worksheet
the macro for deleting the combobox will not run and causes an error. I then
protected my worksheet with "Edit Objects" checked on the protection menu.
However, when I do this, all of my text boxes are able to be edited. I dont
want this. So is there anyway that I can protect everything on the sheet but
allow my program to delete the combobox? Any help will be greatly appreciated!
Thank You!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Combo Box Protection Problem

This works, but it leaves the cell indicator on. I dont want this. When I
protect the worksheet manually everything works perfect except I cannot
delete my combobox. Is there a way to reset a combobox to the first value in
it while the sheet is protected??? Thanks in advance!

Tom Ogilvy wrote:
Have your macro unprotect the sheet, delete the combobox, reprotect the sheet.

I have a worksheet that has several example problems. The worksheet has
hundreds of rows of text and text boxes. I have created a combobox to link to

[quoted text clipped - 9 lines]
allow my program to delete the combobox? Any help will be greatly appreciated!
Thank You!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1
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
combo box protection jimmy g Excel Discussion (Misc queries) 0 August 10th 06 07:23 PM
Combo boxes and Protection [email protected] Excel Discussion (Misc queries) 0 June 27th 05 03:40 PM
Form Combo Box, Protection? John Keith[_2_] Excel Programming 2 April 14th 05 09:22 PM
How do I turn protection on/off with Combo boxes P. Graven Excel Programming 1 June 3rd 04 05:36 PM
Combo Box/Worksheet Protection Conflict Phil Hageman[_3_] Excel Programming 4 May 12th 04 07:26 PM


All times are GMT +1. The time now is 08:07 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"