Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a loop. Within this loop I have a variable "h" which is appended by
the current version of itself. I am using a delimiter of ":" during each append. However I keep getting a type mismatch error as I have dimensioned "h" as a Double. I think adding the ":" triggers the error. I can't change "h" to a String as the addition logic that creates the appending will not work. How do I get around this? Dim h as double For g = 0 To Target.Rows.Count - 1 If Target.Rows.Count - 1 = 0 Then h = Target.Row Else h = h & Target.Row + h & ":" End If Next Thanks EM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What Variable-type should I use | Excel Programming | |||
Excel 2007 - mixed type (line, column, stacked column) in one char | Charts and Charting in Excel | |||
DCount, with mixed type data | Excel Discussion (Misc queries) | |||
Mixed variable problem | Excel Programming | |||
Problem with copying variable(s) to cell(s) and converting strings to mixed case | Excel Programming |