Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why won't subject line increment A B C D etc. in code. Should increment the number of times as entered in InputBox but instead returns all A's below A3.
Option Explicit Sub MakeRanger() Dim CNum As String Dim i As Long CNum = InputBox(" Enter a number.", _ "a Number") i = CNum Range("A3").Select For i = 1 To i - 1 ActiveCell.Offset(0, i) = i ActiveCell.Offset(i, 0) = Chr(ActiveCell.Row + 62) Next End Sub Thanks, Howard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Offset and ActiveCell | Excel Programming | |||
If activecell.column = variable then activecell,offset (0,1) | Excel Discussion (Misc queries) | |||
Activecell Offset | Excel Programming | |||
ActiveCell.Offset w/ VBA | Excel Programming | |||
activecell offset | Excel Programming |