Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mike101
  • Order by date
  1. mike101

    Excel giving wrong equation

    y = 2E-21x6 - 4E-18x5 - 1E-13x4 + 4E-10x3 + 2E-06x2 - 0.0094x + 10.275 R2 = 0.8764 www.ripplewine.com/graph.xls <-- what I'm working with.
  2. mike101

    Truncating Decimal Places

    I have an input and a calculation which creates an output. However, it makes many digits with the decimal point. I just want to have the single digit before the decimal point, and 2 digits after the decimal point (i.e. 1.23) instead of what I have now (i.e. 1.234567788) do you know how to limit...
  3. mike101

    Excel giving wrong equation

    Unfortunatly... it seems Excel is giving me the wrong equation. I've entered it into my TI-Calculator, and I get the same results as I do with putting the equation it gives me in a VBA script and calculating... so I know that I have the equation right cause they check out with each other...
  4. mike101

    Calculation Excel Sheet

    Thanks that worked.
  5. mike101

    Calculation Excel Sheet

    I have used my data to make a graph and a trendline. Excel has given me the equation in this format: y = 2E-21x6 - 4E-18x5 - 1E-13x4 + 4E-10x3 + 2E-06x2 - 0.0094x + 10.275 I am trying to make this work in VBA format as a calculation where I can input x, and get the value of y. I don't...
  6. mike101

    How do I check to see if a file exists?

    I am using a for loop to open and convert data. Workbooks.OpenText Filename:= _ &quot;C:\Documents and Settings\All Users.WINDOWS\Documents\sciencefair\Wind data\06\&quot; & date8 & &quot;\&quot; & i & &quot;.dat&quot;, _ Origin:=xlWindows, StartRow:=1...
  7. mike101

    Error when substituting a variable

    Hmm... I'm wondering if perhaps the problem is connected to something else in my code then. Here is the entire code for the sub to open up the files, cut info from one file, and paste into the next file Sub Generate_files() Workbooks.Add ActiveWorkbook.SaveAs Filename:= _...
  8. mike101

    Error when substituting a variable

    I'm still getting a Run-time error &quot;1004&quot;: Method 'Range' of object &quot;_Global&quot; failed using that conversion.
  9. mike101

    Error when substituting a variable

    In my script, I'm trying to have data grabbed and placed in excel as a list. Range(&quot;A1&quot;).Select ^ This works perfectly fine, but I want it to be a list, so I've substituted 1 with a variable, and the variable is the number I want it to be in. The variable is already declared, and I've...
  10. mike101

    Converting from Fortran to VB

    Is there any way to convert a Fortran script so that it can work in Visual Basic? Thanks.
  11. mike101

    Working with data in Excel

    For Counter = 1 To 5 Y = Counter * 3000 Range(&quot;E&quot; & Counter).Select ActiveCell.FormulaR1C1 = &quot;=R&quot; & Y & &quot;C[-2]&quot; Range(&quot;F&quot; & Counter).Select ActiveCell.FormulaR1C1 = &quot;=R&quot; & Y & &quot;C[-4]&quot; Counter = Counter + 1 Next When I...
  12. mike101

    Working with data in Excel

    Awesome, thanks. I would like to try to figure out how to have it continue to loop until it finds cells with no data. Right now I just have a place-holder to do it 5 times and then quit... but I'd like it to keep going till it detects a blank column. Any ideas? thanks again!
  13. mike101

    Working with data in Excel

    I am trying to take the 2999'th value for the B column and the C column and place them in D1 and E1... then go to 2999*2 for D2 and E2, etc. Below is the code I have. Sub Macro1() Dim Counter As Integer Dim Y As Integer Counter = 1 Y = Counter * 2999 If (Counter < 5) Then...
  14. mike101

    Removing useless data from Excel spreadsheet

    When I open up a data file and have Excel seperate the data, it works fine. However, my problem is that this data file was created and formatted to be printed out, so at they determined how many lines would print out in a page, and on each page put a header that looks like the following: USE...
  15. mike101

    Converting database from Word to Excel

    I am new at VBA. I am working with data for a science fair project, and the data is very very very precise. The data is taken every .02 seconds. I do not need all of this data. Here is an example line of data: &quot;2003153 21:00:00.000 284.00&quot; I would like to have VBA somehow...
  16. mike101

    Odd shaped modelling, I have no clue how to do it

    I am trying to model our Electric Car (you can see it at http://www.ripplewine.com/3dsmax/electriccar1.jpg and http://www.ripplewine.com/3dsmax/electriccar.jpg) The top black canopy, I just can't model it. I've tried modelling by using Editable Mesh of a cylinder, a FFD Mofifier (cylinder) and...
  17. mike101

    Registry/Program Loading problem

    there is no &quot;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer&quot; in my registry, under the Policies the only other subs are &quot;NonEnum&quot;, &quot;Ratings&quot;, and &quot;system&quot;. That's why I didn't put any keys there. Any idea why there isn't...
  18. mike101

    Registry/Program Loading problem

    I tried adding the registry keys, but unfortunatly no luck. The &quot;Run as&quot; pop-ups still keep coming up.
  19. mike101

    Registry/Program Loading problem

    I had many registry problems and couldn't run programs due to a Virus. Fortunatly, I was able to remove the virus with Norton Antivirus, but then had registry problems. I then used Norton WinDoctor which fixed all my registry problems. The one thing that keeps happening now when I open every...
  20. mike101

    Rounded Rectangle Tool Quick Question

    With the rounded rectangle tool... how do I change the radius for it? Thanks.

Part and Inventory Search

Back
Top