Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone. Ive seen stuff like this but im not sure how to implement it
correctly. I need to look in row 7 & cycle through each column (with text). Something like: 'VS previously set 'RowNum previously set For each ColumnNum in row 7 if cell(7, ColumnNum).Value = VS then Cells(RowNum, ColumnNum).Locked = True End if Next Ive seen something like this before and i understand what is goin on but usually the "ColumnNum" part in the for statement is never declared or set to anything...why is this? Thanks for the help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VB Syntax | Excel Discussion (Misc queries) | |||
Syntax HELP | Excel Discussion (Misc queries) | |||
Help with syntax | Excel Programming | |||
Syntax help for if | Excel Programming | |||
VBA syntax | Excel Programming |