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

Hi, I am trying to create a macro on an excel document for an option to
check a box. I have a macro created and stored in word for the same
function. Is there a way I can import that macro from word to excel or
do I need to re-create it? If I do need to re-create it, is VBA the
easiest way to do this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Checkbox macro

Hi Katie,

Probably need new code as you will want to do something different (Excel and
Word are different :-)).

What exactly do you want to do with the checkbox. With linking to a cell,
you might be able to get away without VBA.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Katie" wrote in message
ups.com...
Hi, I am trying to create a macro on an excel document for an option to
check a box. I have a macro created and stored in word for the same
function. Is there a way I can import that macro from word to excel or
do I need to re-create it? If I do need to re-create it, is VBA the
easiest way to do this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Checkbox macro

Basically, I have copied a tax return form on to an excel sheet for
future use. I have empty boxes next to different entries to be checked
at a later time. So I want the boxes to remain empty for the time being
but allow for checks to be added later

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Checkbox macro

You can copy a checkbox from the forms toolbar onto the worksheet and then
link that checkbox to a cell (right-click the checkbox, select Format
Control, then the Control tab, and put your linked cell reference in the
cell link box). You can then test this linked cell for a value of TRUE to
calculate accordingly.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Katie" wrote in message
oups.com...
Basically, I have copied a tax return form on to an excel sheet for
future use. I have empty boxes next to different entries to be checked
at a later time. So I want the boxes to remain empty for the time being
but allow for checks to be added later



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Checkbox macro

Thank you. Now if I have four seperate checkbox options in the same
cell..i think this creates a problem. I believe each checkbox
(including data) needs to have its own cell, is that right? is there
anyway to go back and divide the cell?



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Checkbox macro

No Katie, don't try to complicate it. One linked cell per checkbox. It is
nice and simple, and it is no great overhead. Remember the old adage ...
KISS <vbg

Bob


"Katie" wrote in message
ups.com...
Thank you. Now if I have four seperate checkbox options in the same
cell..i think this creates a problem. I believe each checkbox
(including data) needs to have its own cell, is that right? is there
anyway to go back and divide the cell?



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
checkbox = macro? ephyk Excel Discussion (Misc queries) 1 August 25th 08 12:36 AM
Checkbox Macro [email protected] Excel Discussion (Misc queries) 3 November 5th 07 07:11 PM
checkbox macro Dajana Excel Discussion (Misc queries) 1 November 28th 05 05:22 PM
macro with checkbox(i) costas Excel Programming 2 October 4th 04 12:49 PM
Checkbox Macro grin2000[_6_] Excel Programming 2 June 11th 04 02:47 PM


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