IF Function Using Embedded Checkbox
Jan 4, 2007
I need to create a formula that will calculate a total if someone checks a certain box. (Each check box is associated with a cost. When people check the correct costs, the bottom should total the costs checked.)
View 9 Replies
ADVERTISEMENT
Feb 18, 2010
TPR, DISPLAY and FEATURE columns generate a rating based off of an IF function. In the Executed column, I need TPR, FEATURE, DISPLAY to be averaged together...BUT....In I want the average only include columns where there are numbers. For example in row one the eqn would be (1+3+2)/3, but in row 2 the eqn would be (1+1)/2...can I state an average function within an if function? Or what would be the best way to create an eqn for this?? I have thousands of rows to complete and doing it manually is not an option.
0- Did not meet expectations
1- Below expectations
2- Met expectations
3- Exceeded expectationsTPRDISPLAYFEATUREExecuted?Effective?Comments132Coming off of a Dec promotion113111111221
View 9 Replies
View Related
Nov 13, 2008
I need to include in my roster sheet that if a client is "present" my instructor will check the box. This (idealistically) should add +1 on the column labeled "classes attended" in sheet labeled 5 groups. I've been at this for 3 hours and still have gotten NOWHERE
View 5 Replies
View Related
Feb 25, 2009
married, widows, single checkbox is selected
macro solution
good work.
View 5 Replies
View Related
Apr 16, 2014
I have 3 checkboxes; when one is checked, a set/range of rows should be visible. Only 1 checkbox should be checked at a time.
If checkbox 18 is already checked, and checkbox 20 is then checked, I want the first checkbox unchecked and the rows for checkbox hidden.
I'm using the following code. It works great as long as I check and uncheck the same box before attempting to check another box. But if Checkbox18 is already checked with its rows showing, and I then check checkbox20, the checkbox20 sub runs and as I step through, it jumps to sub checkbox18.
How can I stop my subs from jumping from one to another?
Code:
Private Sub CheckBox18_Click()
If CheckBox18.Value = True Then
Worksheets("TRF").Rows("36:41").Hidden = False
Worksheets("TRF").Rows("42:64").Hidden = True
Worksheets("TRF").Rows("65:76").Hidden = True
CheckBox19.Value = False
[Code] .........
View 9 Replies
View Related
Dec 14, 2008
How can i hide and unhide one checkbox using another one? Can it be done using IF formula?
And also i am using this checkbox to function something else as TRUE/FALSE.
View 6 Replies
View Related
Feb 11, 2006
I would like to embed a chart that updates from the web into my spreadsheet. This is it here:
[url]
View 9 Replies
View Related
May 9, 2006
I have been using different keywords to find what I need. I have 3 checkboxes: cash, amex, other. I have a subtotal cell. When the appropriate checkbox is checked, the amount from the subtotal cell will auto go to the cell next to the checkbox. Is this VB?
View 6 Replies
View Related
Jul 13, 2009
The jist of the problem is that employees are paid their normal wage up untill 37.5 hours of work. From 37.5 to 40 hours of work they are paid 1.5 times their wage. Any hours over 40 are paid at 2 times the regular wage.
So i need a formula that can work out their total pay. Im not sure what i could put in a dummy document to help you since it would just be one cell for their hourly wage, one for their hours worked and then one for the calculation. so you can reference any cell as an example and assume £6 as hourly rate
View 3 Replies
View Related
Dec 15, 2009
Working on automating a data update process for my department (well, for the Italian speaking analysts anyway). I'm trying to import data from an embedded PDF to my Excel 2007 worksheet - I only need the data on the PDF, but if the whole screen can be scrapped I can clean it up in my code.
Any ideas if/how I can do this?
View 12 Replies
View Related
Feb 12, 2012
Can embedded macros be found within the new Solver and how would you make the changes you need in VBA with different constraint analysis?
View 3 Replies
View Related
Jan 14, 2014
My "Drawing" is embedded on Sheet1, later on in Sheet12 I click a button that'll send an automatic email to a user. I want to attach the embedded PDF onto this email if it is at all possible??
Code:
Dim Drawing As Object
After I've declared my variables I've tried setting the variable "Drawing" to the object, this is where I'm encountering my errors mainly "Type Mismatch" or Object Variable not set...
Code:
Sheets("Menu").Visible = True
Drawing = Sheet1.Shapes.range(Array("Drawing"))
Selection.Verb Verb:=xlPrimary
Sheets("Menu").Visible = False
At the bottom of the code, this is where i pull in the object
Code:
.To = Sheet12.range("L8")
.CC = ""
.BCC = ""
.Subject = "Arrange P&D Request"
.htmlbody = strbody & vbNewLine & Signature
.Attachments.Add ("Drawing")
View 9 Replies
View Related
Jan 12, 2009
i want to make and if statement in a cell that does the following:
if "J8 > 10" then fail
if "5
View 9 Replies
View Related
Nov 21, 2006
I have a worksheet with Labels (from the "Control" Toolbox) embedded and I want to read and/or set the BackColor value in VBA. I can't figure out how to accomplish this when they're embedded on a sheet like this.
View 2 Replies
View Related
Feb 28, 2007
I have a worksheets (named Graphs) that contains 12 pie charts, 8 column charts and 4 line charts. I would like to create some VBA code to loop through all these 24 embedded charts and modify only the pie charts. I'm OK with the code to do the modification (which is to set their plot area size and also to delete the title), however, I have no idea how to do the initial loop to select only the pie charts. I'm sure there's a much better way then hardcoding in each of their chart names.
View 2 Replies
View Related
Mar 28, 2008
I'm using Excel 2003 and have a spreadsheet that I want to distribute to a handful of people around the globe.
I want some cells in the page to link to various PDF files which I need to distribute with the worksheet.
I can embed the PDF files no problem, but I need each link to the embedded objects to take up no more vertical space than one row of text (without an Icon) - ie I need to be able to access the object through a "hyperlink style" item.
I can't figure out how to do this, as the hyperlink function does not seem to permit linking to embedded objects.
View 4 Replies
View Related
Aug 5, 2013
I received an Excel spreadsheet that has contact info (name, address, phone, email, etc) but the email isn't visable unless I hover over their first name (a link) and I can see it in there. If I click the first name link, it opens a new Outlook email message. (Cool, but not what I need...)
When I copied the whole spreadsheet and pasted it as a tab into an existing Excel document of my own, the email addresses are no longer there, it now shows the path to where my original document is stored. Where did the email part go? how do I extract the emails out? Ideally I'd like to put them in a new column next to their name...sorted in my original document or in the tab...either one.
View 5 Replies
View Related
Jun 11, 2014
I am trying to create a macro to add to a button that will open an embedded document (word, PPT, and excel).
I recorded the macro and it works fine the first time I try to test it but after it tells me that there is an error...
I'm not exactly sure what to do. Unfortunately, I could not find what I needed on youtube
Error: It talks about the object being out of range and allows me to debug... the code that is in the developer is:
Sub Macro1()
'
' Macro1 Macro
'
'
Sheets("Sheet2").Select
Windows("Worksheet in Book1").Visible = True
Selection.Verb Verb:=xlPrimary
ActiveWindow.Close
Sheets("Sheet1").Select
End Sub
The Windows line is what it tells me to fix.. from there I am lost... Is it because I am trying to do a double clicking function?
View 5 Replies
View Related
Mar 27, 2008
I am trying to wrap up a project. The project consists of taking the input values from a userform and entering them into various Word documents and Excel workbooks. The procedure is run from Word. I have no issue completing this part.
However, there are a few Word documents that have an Excel worksheet embedded into them. How can I manipulate these worksheets using VBA? I have attached an example for your reference.
I have found out how to get into edit mode, but I still do not know how to actually edit the worksheet.
View 14 Replies
View Related
Dec 19, 2005
Setup: I have a ppt presentation with several MS excel worksheet objects embedded.
Goal: I am trying to write a macro in ppt which opens an embedded object, then once it is open applies an existing excel macro that is in my personal excel book.
The code from ppt "record a macro" stops at ActiveWindow.Selection.SlideRange.Shapes("Object 8").Select
ActiveWindow.Selection.ShapeRange.OLEFormat.DoVerb Index:=1
How can i let it know that the active window is an excel sheet? and if i get there, can i run a macro once in?
View 9 Replies
View Related
Mar 12, 2014
This will take a mixture of at least HLOOKUP and Average
I have a table of 2 columns; 1 column is dates from Jan. 1st to Dec 31st; 2nd column is inches of rain on each day. Several are 0 inches but I am needing to take the the average of each month of only the days that have greater than 0 inches of rain.
Getting the average of each month is easy but canceling out the 0 inch days is throwing me off right now.
View 2 Replies
View Related
Feb 13, 2007
how to print an embedded Word document using VBA? I have tried using the macro recorder but only the cryptic code below is returned:
Sub Macro2()
ActiveSheet.Shapes("Object 3").Select
Selection.Verb Verb:=xlOpen
End Sub
View 5 Replies
View Related
Nov 10, 2008
Is there a way to find the embedded chart object name?
View 9 Replies
View Related
May 18, 2006
I tried recording a macro (Absolutely nothing is recorded as far as the ticking and unticking goes) and searched for code but came up empty. What VBA code would I use to untick such a TickBox (TickBox1, Sheet22)? I'd conversely also like to know what code to use to Re-tick it.
View 4 Replies
View Related
Oct 8, 2007
I want to copy an embedded object and and then paste it on the last used cell. However everytime i do this an error occurs.
Sub last_cell()
Sheets(" Analysis").Select
ActiveSheet.Shapes("Object 10").Select
Selection.Copy
Selection.SpecialCells(xlCellTypeLastCell).Select
ActiveSheet.Paste
End Sub
The error occurs in this line ( Selection.SpecialCells(xlCellTypeLastCell).Select ).
Best Regards
Faisal
View 3 Replies
View Related
Jan 20, 2008
I have a worksheets ( named TRACES) that contains 96 scatter charts in (4 groups of 24)and 8 line charts (1 group of 5 and 1 group of 3).
I would like to create some VBA code to loop through the different groups, the graphs in each group needing the same formatting.
how to do the looping for each group with or without hardcoding in each of their chart names.
View 9 Replies
View Related
Mar 27, 2008
I have a workbook with two worksheets. On the second worksheet I have placed a chart, in which several shapes (text boxes) have been added manually. With the help of a TickBox in a UserForm on the first worksheet one can hide / unhide one of those shapes (on the second worksheet). By using the Macro recorder I finally came to this code fragment:
Application.ScreenUpdating = False
Worksheets("Second One").ChartObjects("Chart 41").Activate
ActiveChart.Shapes("Text Box 4").Visible = False
Worksheets("First One").Activate
Application.ScreenUpdating = True
Obviously another part of the code is used to make the shape visible again. roblem: The screen flickers. And I want to be able to do this without flickering. Searching Ozgrid revealed that the use of "Activate" makes the screen flicker. Hence, my question: How can I hide / unhide a shape (textbox) in a chart on another worksheet without of using "activate"? r: Any other way to hide / unhide a shape (textbox) in a chart on another worksheet without flicker?
View 2 Replies
View Related
Jun 12, 2014
I am working on a project. As part of project, emails were sent out to an experimental group for a cost survey. I have to combine data and do analysis now. I am given two excel spreadsheets (sample of both attached).
In sheet 1, column B contains email name. For instance, first email name (Row A2) is ‘96 '07 Bustello Third email name (Row A4) is 90-pt Panda Express '10
Based on this email name, I need to create a new column that contains only company name i.e Bustello against row A2, Panda Express against Row A4 and so on.
I thought of using ‘Text to Column’ function in the beginning. However, since there is no common character in all email names and no fixed width at which company names are embedded in email name I could not use it.
For now, I am doing it manually. I have 10,000 email names and it is becoming hard to do it manually.
Although I am given another sheet (sheet 2 of sample), which has two columns: Company number and Company Name, there is no common variable that I can use to do VLOOK UP therefore; I am not sure how to make use of that sheet.
View 7 Replies
View Related
Feb 4, 2014
I have a cell which has multiple references including some text and a date. When they are all added together the date comes up with the 6 numbers not a date.
[Code]......
The TR!A11 is the date. Is there code to put in front of it to make it format as a date??
View 3 Replies
View Related
Nov 14, 2008
Is there a quick was of copying lots of embedded graphs in powerpoint and pasting them into Excel?
View 4 Replies
View Related