View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
jmcclain jmcclain is offline
external usenet poster
 
Posts: 48
Default Duplicating cells - question

Sean,

Do I enter this after clicking "view code"?
Do I enter all 3 lines noted below.

Again, thanks

"Sean Timmons" wrote:

Right-click on your tab. Assuming the tab name is Sheet1:

For I = 2 to whatever
Worksheets("Sheet1").Cells(1,i).Value = "SPFL00"&i
Next I

should get it.

"jmcclain" wrote:

I have "SPFL001" in A1.

I need to have "SPFL002" in A2, "SPFL003" in A3, etc.

Is there a way to accomplish this with a formula vs typing each value in?

Any help is appreciated.

Jon