Thread: Add Names
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jamal[_2_] Jamal[_2_] is offline
external usenet poster
 
Posts: 15
Default Add Names

I have a long and wide spreadsheet. I need to add names to
each cell in column 93. The names should be the text in
the relevant row in colum 2. The columns in the middle are
full of other information.

I tried the following code. The error message comes up
as "That name is not Valid".

For Each MyCell In MyRange
MyCell.Offset(0, 92).Name = MyCell.Text
Next MyCell


Any help is appriciated. Thanks in advance.