Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 239
Default Unvisible checkbox

I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Unvisible checkbox

Hi Madiya,

The default values for the checkbox's Visible and Enabled properties is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 239
Default Unvisible checkbox

Hi Norman,
I have run your code but still checkboxes are not visible.

So far I have not written any code. I belive writing a simple code will
not be a problem once I make the checkbox visible. Code is a macro
derived from a macro recorder. It works fine if I run frirectly from
run Macro.

My only problem is checkboxes are not visible.
Regards,
Madiya

Norman Jones wrote:
Hi Madiya,

The default values for the checkbox's Visible and Enabled properties is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Unvisible checkbox

Hi Madiya,

(1) Are you sure that the checkboxes are on sheet1?
(2) Are you sure that you are using the correct Checkbox name?
(3) How did you hide them?


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
Hi Norman,
I have run your code but still checkboxes are not visible.

So far I have not written any code. I belive writing a simple code will
not be a problem once I make the checkbox visible. Code is a macro
derived from a macro recorder. It works fine if I run frirectly from
run Macro.

My only problem is checkboxes are not visible.
Regards,
Madiya

Norman Jones wrote:
Hi Madiya,

The default values for the checkbox's Visible and Enabled properties is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Unvisible checkbox

Madiya,
When you place new control on a worksheet, Excel changes to Design mode.
In design mode, all controls are visible, even if their .Visible has been
set to False
So if you add any control to the worksheet, all controls will become
visible.
If you still do not see your checkboxes, then there are no check boxes on
that sheet.
May be you added them to another sheet, or placed them a long way from A1.

NickHK

"Madiya" wrote in message
oups.com...
Hi Norman,
I have run your code but still checkboxes are not visible.

So far I have not written any code. I belive writing a simple code will
not be a problem once I make the checkbox visible. Code is a macro
derived from a macro recorder. It works fine if I run frirectly from
run Macro.

My only problem is checkboxes are not visible.
Regards,
Madiya

Norman Jones wrote:
Hi Madiya,

The default values for the checkbox's Visible and Enabled properties is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 239
Default Unvisible checkbox

Hi Norman,
Checkbox are on sheet1, name is default name (checkbox1).
I have nover tried to hide it. Whenever I add any checkbox on sheet1(
or any other sheet for that matter, it hides itself.

Hi NickHK,
I open a new workbook and on sheet1, I added a checkbox.
When I exited design mode box is not visible. I entered in design mode,
box is not visible. Since I know the location, I moved my mouse on the
same and when mouse chenged, I clicked, box is there and shows only
four corners.

Its so strange!!!

Regards,
Madiya.


NickHK wrote:
Madiya,
When you place new control on a worksheet, Excel changes to Design mode.
In design mode, all controls are visible, even if their .Visible has been
set to False
So if you add any control to the worksheet, all controls will become
visible.
If you still do not see your checkboxes, then there are no check boxes on
that sheet.
May be you added them to another sheet, or placed them a long way from A1.

NickHK

"Madiya" wrote in message
oups.com...
Hi Norman,
I have run your code but still checkboxes are not visible.

So far I have not written any code. I belive writing a simple code will
not be a problem once I make the checkbox visible. Code is a macro
derived from a macro recorder. It works fine if I run frirectly from
run Macro.

My only problem is checkboxes are not visible.
Regards,
Madiya

Norman Jones wrote:
Hi Madiya,

The default values for the checkbox's Visible and Enabled properties is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it visible
permanantly.

Pl help.
Regards,
Madiya



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Unvisible checkbox

Hi Madiya,

I would try closing Excel, rebooting your PC and then deleting the contents
of your
Temp directory.

To easily open the Temp folder, try:

Windows | Start | Run | %temp%

Now re-open your file.

If you still experience problems, I would suspect possible corruption. In
this case, try opening a new, virgin file and insert a checkbox. If the new
checkbox is visible, I would try rebuilding your file.


---
Regards,
Norman



"Madiya" wrote in message
ps.com...
Hi Norman,
Checkbox are on sheet1, name is default name (checkbox1).
I have nover tried to hide it. Whenever I add any checkbox on sheet1(
or any other sheet for that matter, it hides itself.

Hi NickHK,
I open a new workbook and on sheet1, I added a checkbox.
When I exited design mode box is not visible. I entered in design mode,
box is not visible. Since I know the location, I moved my mouse on the
same and when mouse chenged, I clicked, box is there and shows only
four corners.

Its so strange!!!

Regards,
Madiya.


NickHK wrote:
Madiya,
When you place new control on a worksheet, Excel changes to Design mode.
In design mode, all controls are visible, even if their .Visible has been
set to False
So if you add any control to the worksheet, all controls will become
visible.
If you still do not see your checkboxes, then there are no check boxes on
that sheet.
May be you added them to another sheet, or placed them a long way from
A1.

NickHK

"Madiya" wrote in message
oups.com...
Hi Norman,
I have run your code but still checkboxes are not visible.

So far I have not written any code. I belive writing a simple code will
not be a problem once I make the checkbox visible. Code is a macro
derived from a macro recorder. It works fine if I run frirectly from
run Macro.

My only problem is checkboxes are not visible.
Regards,
Madiya

Norman Jones wrote:
Hi Madiya,

The default values for the checkbox's Visible and Enabled properties
is
true.

However, the following works for me:

'=============
Public Sub Tester()
Dim SH As Worksheet

Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE

With SH.OLEObjects("Checkbox1")
.Visible = True
.Enabled = True
End With

End Sub
'<<=============

Post your problematic code.


---
Regards,
Norman



"Madiya" wrote in message
oups.com...
I am adding few checkboxes directly to the worksheet cell by toolbar
(control toolbox).
I have set the enable and visible property to true but still the
checkboxes are not visible.
I intend to assign a macro to each checkbox to carry out some
operations.

I have done it earlier but now cant figure out how to make it
visible
permanantly.

Pl help.
Regards,
Madiya





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
Making macros unvisible Byron720 Excel Discussion (Misc queries) 5 January 15th 10 06:53 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
How do I link one checkbox to update another checkbox? Mike Excel Programming 3 April 28th 06 02:22 AM
checkbox on form reset from checkbox on sheet raw[_12_] Excel Programming 1 December 3rd 05 05:08 AM
CheckBox Value Patrick Simonds Excel Programming 1 August 1st 05 09:42 PM


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