Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks! I feel kind of stupid for forgetting something
so simple. -----Original Message----- Novice, self-teaching VB user here...please help! I am trying to do a simple For/Next Loop with an Index Statement. I want to insert a text string from a range names "List" into a cell, move 5 cells to the right, insert the next name, etc. I keep getting "Compile Error: Expected =" on the Index Statement. What am I leaving out?? Thanks,LJ --------------------- Range("A1").Select For x = 1 To 3 Application.WorksheetFunction.Index(Range("List"), x,1) ActiveCell.Offset(0,5).Select Next x . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reuse Application.WorksheetFunction | Excel Discussion (Misc queries) | |||
Need help with Application.WorksheetFunction | Excel Discussion (Misc queries) | |||
Syntax for WorksheetFunction Match | Excel Programming | |||
Syntax for WorksheetFunction | Excel Programming | |||
Using Application.WorksheetFunction.Ln(...) in VBA | Excel Programming |