LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Follow up from Bob Phillips' Answer on Programatically Making Chec

Hi Everyone.

Previous Thread - On Change (Checkboxes) or something similar

Bob was thoughtful enough to provide me with a solution to my problem with
checkboxes...However, today I began to experience another problem
all-together.

A section of my code is shown below:

With ActiveSheet
.CheckBoxes.Add(.Range(CellRef).Left, Range(CellRef).Top - 1.5, 0,
12.75).Select
Selection.OnAction = "SpreadBoxes"
Selection.Caption = ""
Selection.LinkedCell = CellRef
End With

The weird thing is that this code worked fine yesterday, but then today when
I tried to use it again the Selection.OnAction ="SpreadBoxes";
Selection.Capiton and Selection.LinkedCell ALL return the error "Object
doesn't support this property or method."

What could cause such an error? Can anyone provide any guidance? I actually
rewrote the whole subroutine this morning to try and figure it out, but had
no luck to speak of.

Thanks in advance for any help, and thanks again to Bob for his help
yesterday.

David
 
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
Calculator Answer Doesn't Match Excel Answer GwenH Excel Discussion (Misc queries) 3 October 20th 08 10:17 AM
Creating fillalbe check boxes in excel by double clicking on chec. Meme Excel Discussion (Misc queries) 0 April 9th 08 09:00 PM
making a cell go red when answer in questionnaire is wrong :D Excel Discussion (Misc queries) 2 September 20th 06 12:26 PM
Convert $12.00 to text (Twelve dollars) like you would on a chec.. Dave Excel Worksheet Functions 2 May 14th 05 04:01 PM
Bob Phillips Mickey[_3_] Excel Programming 1 March 5th 04 08:46 PM


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