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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by markozzz

  1. markozzz

    Excel vba - Easy Range question

    Thank you both! I used PHV`s method, but im sure it both works. Rgds, markozz
  2. markozzz

    Excel vba - Easy Range question

    Hi, I couldnt figure this out.. In this sentence: ...Sheets("Sheet1").Range("G:J"), 4, False) in .Range("G:J") i would like "G" to be a variable. Like .Range("(Var),J").. But that obviously doesnt work. Help please? Rgds, Markozzz
  3. markozzz

    Excel - converting IF statement to Select Case

    Thanks mike! Its all working now. Rgds, Markz
  4. markozzz

    Excel - converting IF statement to Select Case

    Whatever, i figuered out myself.. In case anyone wonders; Dim myRow As Long Dim LOCno_hit As String Dim Valve As String 'Definerer aktivt område å jobbe i For myRow = 1 To 10000 'Definerer tagno som string Valve = Cells(myRow, 1) If Cells(myRow, 8).Value = "LOC500" And Left(Valve, 1) = "W"...
  5. markozzz

    Excel - converting IF statement to Select Case

    Hi, I understand that you are confused, and that IF-statement isn`t really good.. In general, whats a bit special is that if one value in H-column matches e.g "LOC500" in sheet1, then i want to lookup a value in an other column in that same row. but i cant lookup the value im looking for in...
  6. markozzz

    Excel - converting IF statement to Select Case

    Hi, i have a rather easy problem, but i cant seem to work it out correctly.. I have a looong IF-statement, which i have to convert to an SelectCase statement. The statement should apply to all rows in a distinct column (H), or at least 10000 rows The IF-statement i originally made, was like...

Part and Inventory Search

Back
Top