VBA Solution - Inserting Machine Name

Apr 23, 2009

I'm looking for a VBA solution that will look at the machine name above in blue and insert in in column E

Machine 2's expected results have been filled in....

View 9 Replies


ADVERTISEMENT

Error 40351 On One Machine But Not Other

Oct 2, 2008

i m getting error 40351 on one machine but not other.
I am running the following code

View 6 Replies View Related

Summary Of Losses By Machine By Month

Oct 4, 2013

I am stuck on a database that is becoming a lot more complex and confusing every time i open it. As of right now i am going to take it one step at a time. I have 2 columns. Column A is "Machine", Column B is "Loss" From there, there is a list of machines and their losses for a given month. Each month has its own report of machines and losses. Some machines may be on the first report. And possibly no losses in the second month making in absent on the second report. What i am trying to set up a formula or macro to automatically updated a TOTAL list, that will automatically list every machine that has ever been on any of these reports, and keeping the highest loss for that machine. For example if machine Z had a loss of $100 in the first report, and a loss of $500 in the second report, then the TOTAL list would have machine Z at a loss of $500. What i have been thinking is a macro that takes both reports and combines them, then grouping the duplicate rows of machines together and somehow deleting the duplicate row witht he lower loss?

View 2 Replies View Related

ReDim Vs. Dim: Code On Another Machine Not Working

Oct 19, 2007

I have: ReDim X(3,1) as double. The code runs fine on my machine, but when I take it to another machine, the code gets stuck on that line.

View 3 Replies View Related

Header And Footer, For Individual Machine

Jun 25, 2008

to create a file, and each employee will use it (Timesheet)

In the footer, I would like to put in the log on to their individual machine?

I know you can put in [Date] [Time] etc etc

But would like their user name (Eg Joe, Bill, Fred) etc etc

View 9 Replies View Related

Delete A Workbook If Opened On Another Machine

Apr 15, 2008

Is this possible to set a macro which will delete the file if opened on another computer? Ie say on WB open I want to set a macro that if Environ(“Username”) = “ABCD” then proceed else delete the file permanently from th e other computers machine. If deletion of file is not possible then deletion of sheets or contents of sheets should be deleted. The sheets will be protected. Expecting a solution to delete the file.

View 2 Replies View Related

Calculate The Average Start Time For A Machine Over A Period?

Mar 6, 2014

I am trying to calculate the average start time for a machine over a period. However the machine start time varies from 10:00 pm to past midnight. I have tried reviewing past posts but cannot seem to find a similar query.

View 13 Replies View Related

Run A Macro On My Machine (Windows 2000 And Office 2003)

Jun 29, 2006

I'm trying to run a macro on my machine (Windows 2000 and Office 2003) and I keep getting an error on one method. Now I tried to run the same macro on a different machine (Windows XP and Office 2003) and it didn't error out.

Public strControlTitle As String
Public strControlTime As String
Public strControlUnit As String
Public intControlItem As Integer
Public intLastNameOnly As Integer
Public intDataType As Integer


Sub Main()
Dim strControlItem, strPageName, strValue, sigma, z95, z99 As String
Dim r, c, count, cmax, rmax, rt, ct, low, high, a, b As Integer
Dim lesscol As Integer
With ControlChartForm
.ComboBox1.AddItem ("Average Turn Around Time All Patients")....................

View 4 Replies View Related

VBA Code To Check If Service Required For A Machine In That Month And Create Popup

May 16, 2014

What I'm basically trying to do is make a code that looks at where the "x" values are in my range and if the month matches the current month, open a pop up that says "Service Required: Equipment Name" when the file is opened.

If it's any easier, an actual date could be written instead of an x.

An alert system for service required if you will. I have attached a file.

TestSchedule.xlsx‎

View 4 Replies View Related

Having A Solution Returned As A Value

Dec 9, 2009

Is it possible to have a formula that will return the answer as the value.

For example if I have 15.75 in A1 and I use the formula =ROUND(A1,0), the solution is 16, but when you click on the cell it shows the formula and not the value.

I know about Paste Special, but was wondering if anything could be added to the formula to provide the solution.

Would this require a macro?

View 5 Replies View Related

SumProduct Fast Solution

Jan 30, 2010

my questions below are more oriented to hows & whys, as opposed to asking for a fast solution to a pressing problem.

I'm just reviewing the basics of SumProduct to be sure that I understand what I'm really doing when I deploy the function. So, I have the following formula:

View 3 Replies View Related

Unique Job #'s By Date VBA Solution

Jan 20, 2009

I'm looking for a VBA solution that will return a list of unqiue job numbers in B by date, the below is some sample data in Sheet 1

Sheet 2 is the result I'm looking for and usually there will be muliple job mumbers for the same date and in this case I'm fine to leave it as a blank cell in sheet 2 for that day.

Unable to use advanved filtering as it's a data table thats changing all the time. It's verly likely that the same job numbers will be in multiple days....

View 11 Replies View Related

Provide Both Formula And Vba Solution.

Jan 24, 2010

I have an excel sheet which has been exported from an 'Employee Attendance Software',

http://www.flickr.com/photos/34247990@N06/4299288997/

In the above screenshot, The employee name highlighted in Yellow should feauture in column A in the cells highlighted in Yellow.

Similarly, there are some other employees in the list for whom I have to populate the data in a similar fashion

http://www.flickr.com/photos/34247990@N06/4299288959/

View 9 Replies View Related

Use Lookup Formula For Solution

Feb 7, 2007

I am trying to solve a problem with = LOOKUP. Here's the data. A1 can have a value between 1-100.

IF A1 IS <80.00, NO MULTIPLICATION IS NEEDED
IF AI IS 80.01 TO 85.00, MULTIPLY A2 BY 0.37%
IF AI IS 85.01 TO 90.00, MULTIPLY A2 BY 0.52%
IF AI IS 95.01 TO 95.00, MULTIPLY A2 BY 0.87%
IF AI IS 95.01 TO 100.00, MULTIPLY A2 BY 1.07%

Is there a =LOOKUP formula that can be used here?

View 2 Replies View Related

IF Input And Color Identify Solution

Oct 9, 2008

I have the new version of excel and I can't figure the correct formula to do the following.

Attached is my example.

A1 is available Inventory qty. C1:H1 are forcast qty's. I would like to have the available forcast qty. shown in black and the unavailable forcast qty. shown in red based on available inventory shown in A1

Example
So C1,D1 and E1 would be Black and F1 and G1 would be red. As inventory changes so would the colored numbers on the forcast.

View 14 Replies View Related

Hlookup With Dates Solution Needed

Oct 3, 2008

I am using HLOOKUP to show a date depending on the month shown in B10.

If B10 is January then the dates throughout January ie. 01/01/08 to 31/01/08 are shown in the cell range of F13 to F43. There is no problem with this unless there are 30 or 29 days etc in a month. So if November is in B10, in F43 I have the value of 00/01/1900. Can I modify my formula so if there is no data in the lookup table to return a blank value ie. "".

Here is my formula:

=HLOOKUP($B$10,DATES!$B$1:$M$32,2,FALSE)
I obviously change the 2 to 3, 3 to 4 as I copy the formula down the table.

View 9 Replies View Related

Returning A Solution, Of A Formula, To A Different Cell

Mar 3, 2010

I would like to have the answer to a formula, say in cell G6, to show up in say G5. I notice in my college coarses, doing our homework through excel, the solutions are always in a cell around the entry cell.

View 9 Replies View Related

Multi-dimensional Array Solution

Jan 12, 2007

I am currently using a macro which highlights keywords and associated page views from an array in my website stats spreadsheet. Now I need to take it to the next level:

I want to use a multi-dimensional array to pull out any keywords that are duplicated, and display them at the top of my spreadsheet with the totaled page views next to them in a different color (red).

Here is my existing Keyword highlighting
Sub Highlight_Keywords()

Dim vntWords As Variant
Dim lngIndex As Long
Dim rngFind As Range
Dim strFirstAddress As String
Dim lngPos As Long

View 9 Replies View Related

Text Overwrites Blank Cells! Solution?

Jan 28, 2009

My problem is that long text for the cell overlaps any blank cells to the right. I have more then 20.000 rows, so I would not like to put a space character in all the blank cells. Is there a way of formatting which will stop this? I don't want these texts to overlap the blank cells!

View 3 Replies View Related

Conditional Formatting Is Not Resulting Of Desire Solution

Dec 29, 2009

I have the attached table. I need to format with conditional formatting with the following criteria:

1) If >= 80% , then flag as green
2) If >=1% but <80%, then flag as yellow
3) If 0%, then flag as red.

I did the formatting in conditional formatting but the it did not results in the desired solution.

View 4 Replies View Related

Extending Previous 'conditional Statements Solution'

Jan 30, 2010

use of SUMPRODUCT and what I believe is called a double unary operator (--). Here's the original post with Paul's solution:

http://www.excelforum.com/excel-gene...-new-post.html

I've since discovered that a previously unknown column of data (I'm transcribing data from paper documents) needs to be included in the calculations. Specifically, the new column of data (shown in yellow in the attached example) has to be taken into consideration when counting product quantities. An explanatory pseudo code statement, also appearing in yellow in the example sheet, describes.

View 2 Replies View Related

Desperately Seeking Solution - Payroll Tax Withholding

Feb 1, 2007

I need to determine federal tax withholding from gross pay.

If gross amount (for S-0 = single no dependents) is
Over.................But NOT Over............Then Subtract.........And multiply
$0.00...............$195.00.....................$5 1.......................10%
$195.00............$645.00.....................$99 .......................15%
$645.00............$1,482.00..................$351 ......................20%
$1,482.00..........$3,131.00..................$447 ......................25%
$3,131.00..........$6,763.00..................$849 .....................30%

If gross is $400 then what are the total taxes taken out? Could someone please provide a formula?

I tried this one: =IF(M10

View 9 Replies View Related

VBA Solution To Compare/replace Data Between Columns

Jul 4, 2009

I have two columns of adjacent data Call them A & B (although this could differ)

If the data in the second colum is not equal to, blank cell or contains the words "CAT", "DOG" or "ELEPHANT" then the content of the cell in the second column should REPLACE the content of the adjacent cell in column A (in this example) leaving B blank, otherwise column B remains unchanged.

View 9 Replies View Related

Solution/altenative To Data Table Using >2 Variables

Feb 9, 2010

Is there a way to test out a formula using Excel that has more than 2 variables? (If only 2 variables, I would use a simple data table). The formula I am testing has 50X50X20 variables (and as a subset, each variable has 2500 lines of assumptions!). I don't need to see all the results, only the result that produces the highest result. For simplicity (if someone has an answer) let's assume 3 variables are A1, A2 and A3. Formula is in A4 and formula is A1+A2+A3. Assuming A1 can be 1 to 5 and A2 same , A3 same, the long hand calc is for me to run a data table using variables in A1 and A2 the fixing A3 (as 1)..note maximum result....then run data table again using variables in A1 and A2 and changing fixed value in A3 to the number 2...and so on and so on....in this simple example I know the max result would be 15, but much more difficult in my spreadsheet test.

View 9 Replies View Related

Finding Effective Solution For Updating Links

Apr 4, 2006

I've got a workbook in which there're many formulas linking to other workbooks. Coz these other workbooks are frequently updated, so the calculation (update) in my workbook is painfully slow and time consuming. I wanna improve this, maybe by VBA or other way instead of using link like this. Anyone can give me some hints or way how to improve this condition???

View 7 Replies View Related

Application-defined Or Object-defined Error On One Machine But Not The Other

Jul 31, 2009

I'm trying to figure out why I can run a bit of code on my machine but on another machine I get an: Application-defined or object-defined error. The code is in an excel file on a network drive and it pulls up a form, once the form is submitted it runs some code that looks like so

View 2 Replies View Related

Looking For A Solution On How To Convert A Returned Cell Address To A Cell Reference

Dec 2, 2009

I have a formula (AL15) to determine the address of the last column with a value greater than 1. =COUNTIF(C16:AC16,">=1")+2. I then use this column value to aquire the Absolute row "15" and the determined column=(ADDRESS(15,AL15,4)). This returns to me a Column value and row value that I need to use as a refference. How can I convert this returned value to a reference.

View 2 Replies View Related

I Want To Be Able To Take The Solution To The Formula And "fit It" Into Another Formula.

Jun 16, 2009

=IF(AC4509="","",IF(W4509=1,ROUND(AR5+(0*(9.693/C4509)),1),ROUND(AR5+(X4509*(9.693/C4509)),1)))

If the value of W4509 is equal to 1, the solution would be whatever is dictated, otherwise, it uses the alternative formula to achieve the answer.

My question: I want to be able to take the solution to the formula and "fit it" into another formula.

Example: ((the "If W4509=1" formula)-88)*(C4509*.09693)+100-0) and ((2nd formula)-88)*(C4509*.09693)+100-X4509)

View 9 Replies View Related

Inserting A Row ...

Nov 1, 2007

I have a macro which inserts a row and copies formulas and formatting to the inserted row or rows, but leaves other fields blank. What would be great would be if I could force users to use this macro for inserting rows and prevent them from using the normal 'insert row' function.

View 9 Replies View Related

Inserting A New Row

Mar 22, 2007

I have in the code copied a range of cells.

Now i want to make sure that the same number of rows are avalible

In case that the i want to create one new row i use the following code

ActiveCell.EntireRow.Insert

The problem is that insted of inserting one black row, it wants to paste the rows which are already copied.

How do i insert one black row

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved