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 Westi 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: *

  1. novartis1

    Inserting algebraic function into cells depending on variable in range

    Hi John, I just wanted to tell you that I got my code working, I think the error was comming from the fact that my sheet was protected, so I put in a sheets.unprotect line and the error resolved itself. I also put in a Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Not...
  2. novartis1

    Inserting algebraic function into cells depending on variable in range

    The error occurs on the first line of code after "Case 2" even after i put the code in "module 2." I put the code in a new worksheet and it worked fine. I take that to mean that I must be doing something wrong elsewhere in my code, but i'm not sure where, or even where to look. I don't know if...
  3. novartis1

    Inserting algebraic function into cells depending on variable in range

    John, Thanks for replying so quickly. I put this code in "sheet1", i'm not totally sure where to put it, but I keep getting a "Run-time error 1004, application-defined or object-defined error" when i hit the "run sub/userform" (the triangle play button) Sub SelectCase() Select...
  4. novartis1

    Enabling save function in a new workbook after disabling it in current

    Hi skip, It turned out to be a pretty simple problem. I moved the code to the "this workbook" and had to add a "Next oCtrl" after each Find control. I do appreciate the help however, and maybe I will get to the point where I don't have to bother other people for help, we'll see though...
  5. novartis1

    Inserting algebraic function into cells depending on variable in range

    Hello all, I'm trying to insert an algebraic formula into a Range of cells depending on the value of cell("F1"). For instance if cell("F1")=1 then I want to use formula A, if cell("F1")=2 then I want to use formula B, and so on. Currently I have a simple Function set up with If/Then...
  6. novartis1

    Enabling save function in a new workbook after disabling it in current

    Sorry, I haven't gotten back to you sooner, I've been preoccupied with other things, I will try your suggestions, and thank you very much for the help. Thanks, Andy
  7. novartis1

    Enabling save function in a new workbook after disabling it in current

    First, excuse me for my imprecise diction, and second I have to admit that I am a relatively novice programmer. By bring up, I mean any time that I open a new excel workbook, either by selecting "File New" in the excel window that has the worksheet that contains this code, or after completely...
  8. novartis1

    Enabling save function in a new workbook after disabling it in current

    Hello All, I have sucessfuly disabled the save, save as, and other functions in the current workbook that I'm working on, but now these functions are disabled in any excel workbook I bring up. Is there a way to fix this? This is what my code currently looks like in "ThisWorkbook" Private Sub...

Part and Inventory Search

Back
Top