B
bob
how would i write an if statement that would say if cell in col A=total
then let the range cell = 5 greater then cell containing "total"
ie) if A35="total" then make the range cell =A40
Range(Range("A44"), Range("A44").End(xlDown)).TextToColumns
Destination:=Range("A44"), DataType:=xlDelimited, _
'TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True,
Tab:=False, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo
_
:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5,
1), Array(6, 1))
thanks
then let the range cell = 5 greater then cell containing "total"
ie) if A35="total" then make the range cell =A40
Range(Range("A44"), Range("A44").End(xlDown)).TextToColumns
Destination:=Range("A44"), DataType:=xlDelimited, _
'TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True,
Tab:=False, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo
_
:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5,
1), Array(6, 1))
thanks