Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default manipulating Excel checkbox from VB based exe

I have a VB program that collects data and then modifies an existing
spreadsheet. My VB program can easily modify the text cells in my
spreadsheet but I can not figure out how to have my VB program modify
checkboxes (form type checkbox) on the same spreadsheet.

TIA

Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default manipulating Excel checkbox from VB based exe

Mark,

You should be able to address the checkbox as a member of the worksheets
CheckBox collection. Something like:

xlApp.Workbooks(1).Worksheets(1).CheckBoxes(1).Val ue = True



--
John Green
Sydney
Australia


"Mark" wrote in message
m...
I have a VB program that collects data and then modifies an existing
spreadsheet. My VB program can easily modify the text cells in my
spreadsheet but I can not figure out how to have my VB program modify
checkboxes (form type checkbox) on the same spreadsheet.

TIA

Mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default manipulating Excel checkbox from VB based exe

Mark,

If your stuck with using a Form then Link the form to an unused cell. then
manipulate the Cell.
This can be accomplished through the form Controls dialog on the Controls
tab.


If your doing a lot of this you may want to investigate using the checkbox
from the Control Tools menu instead of the forms menu. The Control tools
can be named and more easily accessed from the program.


Good Luck,
Gary M.


Another alternative is to
"Mark" wrote in message
m...
I have a VB program that collects data and then modifies an existing
spreadsheet. My VB program can easily modify the text cells in my
spreadsheet but I can not figure out how to have my VB program modify
checkboxes (form type checkbox) on the same spreadsheet.

TIA

Mark



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
Help with function to add percentage to cell based on checkbox. foxgguy2005 Excel Worksheet Functions 3 June 1st 05 05:52 AM
Manipulating a checkbox by name dynamically Eliezer Excel Programming 1 September 4th 04 01:28 PM
Manipulating a checkbox by name dynamically Eliezer Excel Programming 0 September 3rd 04 09:11 PM
Conditional Button Enabling based on Checkbox Todd uttenstine Excel Programming 11 November 25th 03 12:45 PM
Button Enabling based on check in checkbox Todd Huttenstine[_2_] Excel Programming 2 November 25th 03 04:56 AM


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