Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how do I fill series on different sheets

In excel I want to fill a series of numbers across different sheets in a
workbook.i.e. in sheet 1 cell C3 i want 816500-002 and in sheet 2 cell C3 I
want 816500-003 and so on, how do you do it, can it be done, please help.

Wayne.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how do I fill series on different sheets

Sub String_Increment()
Dim myStr As String
Dim iCtr As Long
myStr = "816500 - 00"
For iCtr = 1 To ActiveWorkbook.Worksheets.Count
With Worksheets(iCtr).Range("C3")
.Value = myStr & iCtr + 1
End With
Next iCtr
End Sub


Gord Dibben MS Excel MVP


On Tue, 6 Oct 2009 07:01:02 -0700, Wayne Palmer
wrote:

In excel I want to fill a series of numbers across different sheets in a
workbook.i.e. in sheet 1 cell C3 i want 816500-002 and in sheet 2 cell C3 I
want 816500-003 and so on, how do you do it, can it be done, please help.

Wayne.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default how do I fill series on different sheets

Sub fillinsheets()
For i = 1 To Sheets.Count
Sheets(i).Range("c3").Value = "816500-00" & i + 1
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Wayne Palmer" wrote in message
...
In excel I want to fill a series of numbers across different sheets in a
workbook.i.e. in sheet 1 cell C3 i want 816500-002 and in sheet 2 cell C3
I
want 816500-003 and so on, how do you do it, can it be done, please help.

Wayne.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skip Rows in Fill Series and Filter to Two different sheets Benjamin Excel Worksheet Functions 3 June 30th 09 12:58 AM
fill series The Print King Excel Discussion (Misc queries) 3 March 3rd 09 04:45 PM
Fill Series Dates: not letting me change the series from year to m Mike Excel Discussion (Misc queries) 1 January 24th 08 05:08 PM
Fill series Q1, Q2, Q3, Q4 Cody6111 Excel Discussion (Misc queries) 3 November 15th 06 06:19 PM
Edit Fill Series - How do I fill using minute increments IUnknown Excel Discussion (Misc queries) 1 January 29th 06 12:50 PM


All times are GMT +1. The time now is 08:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"