Hide The Sheets By Option Box & Check Box And Help For Creating The Message Box
Jun 11, 2008
I have attached my spreadsheet.
Problem no.1:- I want to make all the sheets hidden except Main Index sheet.The concern sheet should gets visible when I select option box or Check box.
problem no. 2
I have given the data of Japan & China Plants. Now the total production of japan Plants are sum of plant 1,2 &3. But production of China plants are variable & need to fix by us. We will put production terget in China Plant 1, 2 & 3 in such a way so that one message box written "please check your data" should be appread whenever the K25/26/27/28/29 dont match with E25/26/27/28/29.
My problem is that no matter which option button is selected, all I get is the results for Case 2 and then the vlookup doesn't work. So if the user wants to cancel and reenter a new clock number they have to close the form and manually reopen it.
This was working until I decided I wanted a vbOKCancel instead of a VbOkOnly. However the uploader is not working for me.
The best I can do is a link for OneDrive [URL] ......
I Have a tool which will be used online & offline.
I would like a box to appear on the opening of the spreadsheet which asks the user "Are you online?", with options "Yes" & "No", if the user selects "Yes" then a macro (which i have already written) refreshes the spreadsheet.
if the user selects "No", the sheet is not resfreshed.
Using the Forms toolbar control, NOT ActiveX, in Excel 2002 (XP Home) to make on option button, how do I obtain more than just one option? I can draw the outline of the button and I can rename the option but I don't know how to get more than one. I'm totally green to VBA/macros/code/etc. so please keep it SUPER SIMPLE.
I'm hoping that by selecting one of 4 options, IF formulas elsewhere in my workbook (spread over multiple sheets) can be fine tuned.
For Instance: if option 1 is chosen (on sheet 1), =sheet2!(randbetween(3,24)). if option 2 is chosen, =sheet2!(randbetween(3,30)), etc.
I'll then record a macro that will take it to a Value using CopyPaste Special. Unless there is slick way of stopping the cells from rerandomizing when the sheet is recalculated.
CHECK BOX
I hope to use check boxes, to help me CONCATENATE stuff elsewhere in my spreadsheet.
For Instance: if checkbox 1 is checked (on sheet 1), =sheet2!(conc($D$11&" whatever is associated with the check box). if check box 2 is checked, =sheet2!(conc($D$11&" whatever is associated with the check box), etc.
I try to make option buttons instead of round with a black dot but square box with check mark liked the check box. Box can be filled with color (light blue or other color). When the box is picked the fill change to white background.
I have 5 option boxs, I like to group them in one group because I have other groups using the option boxs. I want the check mak stayed in that group when it is picked.
1. I have text message on Excel Sheet 1. I have designed a form that has Multiple Check Boxes. Primary, CO-applicant and Co-signer vertically placed. And I have 3 Check Boxes that have been placed Horizontally Alerts, Public records and Mismatch Information.
What I am looking is I should be able to Pick 1 or all the 3 from Vertical Check Box which would be Primary, or co-applicant and Co-signer and also appropriately pick any from the Horizontal Check Boxes Alerts, Public Records and Mismatch Info.
For example: I the Text Box1 below should appear like this:
Primary: DOB Mismatch or and Bankruptcy any of those options.
Similarly for Co-applicant and Co-signer.
2. I have a Text Box2 on Comments page. The information from Text Box 1 Appears in Text Box 2. Once the form is run I am unable to make corrections if any in Text Box 2. Is it possible for me to edit the test that is copied in Text Box 2.
I need a little help here as I am trying something new, and am not sure how to proceed. I am trying to change from 2 columns to 3 columns where there are a few variables. This is the original:
I have a form with at about 1200 checkboxes and I need to make them behave as radio buttons. What I mean is that just one box can be selected in a group of boxes.
Lets say i want to group all 1200 boxes in 400 groups, with 3 check boxes in every group. I want user to be able to select just one check box in every group.
Is there a way to set up a "watch" on a cell so that if you type in a different number on a cell, OptionButton1_Click() gets activated? Example:
A9 = 12.0104 OptionButton2 is active.
In Cell A9 you type "25.0508". OPtionButton2 becomes inactive and OptionButton1 becomes active. I already have the buttons linked, i just do not know how to make the button get triggered if A9 changes.
I have a survey template with several options buttons (made from Form toolbar and grouped by Group Box).I would like to have a check box that would activate these option buttons for specific question if unchecked and vice versa.
I have copy & paste below formula in VB, but is shows 'Run time error 424' & when I Debug it shows 2nd line highlighted by yellow colour.
VB: Private Sub CheckBox1_Click() If CheckBox1.Value = True Then [code]....
I have userform in excel which asks user to enter user id and password. I want a to have "Remember Me" check button on my userform which will remember user details and he wouldn't have to enter user id and password again and again.
Is there any option to deactivate the "Disable macros"
Or
When i open the userform it asks for enable and diable macros. If i click "Disable macros" then the users can manipulate the data inside the excel sheet. i need to avoid this problem.
So, is there any option that if i do "Disable macro" then the corresponding sheet for the which the Userform is linked should not be visible or hidden.
I need to hide multiple examples of the #DIV/0 notification. The formula I am using is to convert Km and Litres into MPG, =((D4x1.6)/E4)x4.5 where D4 & E4 are values of 0 untill values are entered. E4 is the cell in question that is causing the problem. The formula works great but I would just like to hide this error notice in all cells where it occurs.
I have an inputbox that asks a question. If the user enters an incorrect response, a messagebox appears telling them to enter the correct word and returns to the inputbox. The code works fine, however the messagebox doesn't disappear after they click OK. Is there a way hide or get rid of the messagebox once they click OK or Cancel? My code is below:
inputboxVorD: VorD = Application.InputBox("Is this for Voice or Data?", "Voice or Data", Type:=2) Application.DisplayAlerts = False Select Case VorD
I currently have the code below, and it checks if there are duplicates of the entered value on all sheets. I would also like to prevent users from entering a value that is not within a certain range. How to add this to my code? I've tried to add another If, but it just ended up looping.
Maybe it would be good to make something like: 1. first check if value is within range (between 1000000 and 3999999). if not within range: msgbox and delete entry. 2. then check for duplicates
I'm trying to use a VB code to insert check box in excel. I have 1000 records and i need to insert 1000 cehck box. I know how to do it manually for few but to do it for 1000 that just going to take too long.
I've set up an email to be sent via a macro (excel 2007 and outlook) and I expanded the body of the message and it now comes up with an error "Compile error: invalid outside procedure"
It was working when I only had 4 lines and now it's not working.
how to make a MsgBox open anytime a cell in Column A was double-clicked--and the content of the MsgBox was from the cell in the same row in column Z. I've now realized the double-clicking isn't an ideal solution, as it's easy to click in another cell and mess up all the formulas.
(1) Code that deactivates the "edit directly in cell" option when the workbook is opened.
(2) Code that opens the MsgBox when a cell in Column A is clicked just once (or similarly less fool-proof than double-clicking or right-clicking).
I would like to be able to create multiple check boxes that will accomplish 2 things.
1. When Checked will display a date in the cell one column to the right. 2. When checked will change colors
Secondly, since i will need to make several hundred of these I would like a macro that will allow me to define how the check box is to behave and then have a macro which will allow me to define all of the settings and then input the number of check boxes that I want and it will create that many boxes.
I recall seeing a macro on here some time ago (at least 1 month prior but no more than 6 months prior) which allowed you to type into a form how many check boxes or option boxes you wanted to create in your workbook, and then it would create that many.
in my work sheet I need to Hide & Unhide some text box By checking a checkbox it means if user mark the check box the text box will be appear & if uncheck it the text box will be hidden