Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

I need a little help please.

I am creating a work order and thought it would be nice to be able t
write up the order online. In order to do this, I need to be able t
check if a certain item is to be installed. I thought the check bo
feature would work nicely.

There would be 12 check boxes on the form. I know how to insert th
checkbox; I just don't know how to write the code. The sheet will b
password protected, and I need to be able to select which items are t
be installed.

If you are reading this post, and know how to do this, I woul
appreciate your assistance.

Thanks

artemisia
:

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

art,

try something like this. you will need to modify to your needs.

Sub test_checkbox()
Application.ScreenUpdating = False
Worksheets("sheet1").Activate
If ActiveSheet.[Check Box 4].Value = 1 Then
MsgBox "hi"
End If
End Sub


HTH

Charle

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

No that did not work for me.

Do you know of a web site that gives examples or has templates fo
Excel?

If I post the worksheet online or send it to you could you fix it fo
me. LO

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

art

send your spreedsheet to me at


Charle

--
Message posted from
http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

Hey Charles,
I was able to get the check box to work now; however, I have anothe
questions for you.

Is it possible to do something so that 3 pages of the workbook print s
you don't have to go into File | Print | every time you need to prin
the work order?

Is it possible to put a button on the first page that when you click i
it will automatically print 3 pages?

Thanks again.

artemisi

--
Message posted from http://www.ExcelForum.com



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help creating a check box on a form.

Art,
Create a worksheet button on the worksheet and asign a macro to it.
The macro below is a simple form, but it should work. It will print th
first 3 worksheets.
You can change the sheet1 to the name of your worksheet.


Sub test_print()
Application.ScreenUpdating = False
Worksheets("Sheet1").PrintOut COPIES:=1
Worksheets("Sheet2").PrintOut COPIES:=1
Worksheets("Sheet3").PrintOut COPIES:=1

End Sub


HTH

Charle

--
Message posted from http://www.ExcelForum.com

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
make a check form, and then have info go to a check register richie g Excel Worksheet Functions 0 May 5th 10 12:10 AM
VBA for form check boxes dicko1 Excel Worksheet Functions 4 June 5th 09 04:02 PM
Check Box and form Sharlene Administrative Assistant Excel Discussion (Misc queries) 0 June 3rd 09 06:47 PM
form control - check box irene c New Users to Excel 1 February 2nd 07 09:23 PM
form check box sako 338 Excel Worksheet Functions 1 January 16th 07 12:33 PM


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