Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the code below, what is the function of the line:
" ColOut = ColOut + 1 " ?????????????? HeaderRow = Range("Header").Row Sheets("Output").Cells.ClearContents RowIn = HeaderRow + 1 ' first row RowOut = 1 Do ColOut = 1 Sheets("Output").Cells(RowOut, ColOut) = "$INPUT" ColOut = ColOut + 1 ColIn = 2 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It increments the value of the variable ColOut.
Hope this helps. Pete On Jul 13, 5:42 pm, M&M wrote: I have the code below, what is the function of the line: " ColOut = ColOut + 1 " ?????????????? HeaderRow = Range("Header").Row Sheets("Output").Cells.ClearContents RowIn = HeaderRow + 1 ' first row RowOut = 1 Do ColOut = 1 Sheets("Output").Cells(RowOut, ColOut) = "$INPUT" ColOut = ColOut + 1 ColIn = 2 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Fri, 13 Jul 2007 09:42:01 -0700 from M&M
: I have the code below, what is the function of the line: " ColOut = ColOut + 1 " ?????????????? It's a standard programming way of adding 1 to the ColOut variable. I realize it looks odd, but in programming the = sign has two meanings, "is equal to" and "is replaced by" This is an example of the latter use, just like in ColOut = 1 -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Scattergraph: Meaningful interpretation | Charts and Charting in Excel | |||
Interpretation of T test results | Excel Worksheet Functions | |||
chitest and interpretation of the result | Excel Worksheet Functions | |||
Sum(if ... multiple conditions ... Interpretation? | Excel Discussion (Misc queries) |