Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A bit easier to work with than my 1st version because it uses column labels...
Sub DisperseValues2() Dim sCol$, LastRow&, n& LastRow = Cells(Rows.Count, "B").End(xlUp).Row For n = 2 To LastRow Select Case UCase$(Cells(n, "B")) Case "A": sCol = "D" Case "B": sCol = "E" Case "C": sCol = "F" '... End Select Cells(n, sCol) = Cells(n, "A") Next 'n End Sub -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
EXCEL07 CELL FORMULAS WILL NOT COMPUTE TO A VALUE | Excel Worksheet Functions | |||
enter data once to more location | Excel Discussion (Misc queries) | |||
Formula to compute someone's age if you enter their B-day | Excel Discussion (Misc queries) | |||
Formula Saves In Cell But Does Not Compute | Excel Worksheet Functions | |||
how do i get excel to automatically compute cell values | Excel Discussion (Misc queries) |