Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks. This is what we eventually came up with.
Dim k As Integer For k = 0 To 5 'stud input loop Dim mycell mycell = Cells(60, 3 + k) Dim valueme() As String valueme = Split(mycell, ",") Dim d1 As Double d1 = 0 Dim avar As Boolean Dim i As Integer, j As Integer Dim top top = (Sheet12.Range("B1000").End(xlUp).Row - [Bookmark].Row + 2) / 4 - 1 For i = 0 To UBound(valueme) 'input loop split avar = False valueme(i) = Trim(valueme(i)) For j = 0 To top 'load combination name loop name = Sheet12.Range("B" & [Bookmark].Row + 2 + j * 4).Value If valueme(i) = name Then avar = True Next j If avar = False Then MsgBox "You have entered and undefined Load Combination on the Input Sheet!" Exit Sub End If Next i Next k |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA: Matching cells across columns, and returning equal values | Excel Discussion (Misc queries) | |||
Exclude #N/A values and Return Numeric values to consecutive cells in Single Row | Excel Worksheet Functions | |||
Formula to find equal values with blank cells | Excel Discussion (Misc queries) | |||
lineup equal values by inserting empty cells | Excel Discussion (Misc queries) | |||
SOS VBA Code Emergency: need to copy tell to empty cell direct below where values in adjacent cells in different column are equal to each other. | Excel Programming |