Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto fill references


Another question:

Main sheet has list of values in col A starting with A2, e.g.

AAL
ABF
ABG


I want to create a reference so that cell A1 in Sheet 2 of the workboo
links to A2 in the Main sheet, i.e. "AAL". A1 in Sheet 3 would link t
A3 in the Main sheet, i.e. "ABF", and so on. Given that there are 300
sheets, I don't want to do this manually. If any of you can help, I'
really appreciate it.

Bertie

--
claytor
-----------------------------------------------------------------------
claytorm's Profile: http://www.excelforum.com/member.php...fo&userid=1161
View this thread: http://www.excelforum.com/showthread.php?threadid=48024

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Auto fill references

There is no function in Excel that does this so you'd have to do it by
macro:

Sub a()
Dim Counter As Integer
For Counter = 2 To Worksheets.Count
With Worksheets(Counter)
.Cells(1).Formula = "=" & Worksheets(1).Name & "!A" & .Index
End With
Next
End Sub


--
Jim
"claytorm" wrote in
message ...

Another question:

Main sheet has list of values in col A starting with A2, e.g.

AAL
ABF
ABG


I want to create a reference so that cell A1 in Sheet 2 of the workbook
links to A2 in the Main sheet, i.e. "AAL". A1 in Sheet 3 would link to
A3 in the Main sheet, i.e. "ABF", and so on. Given that there are 300 +
sheets, I don't want to do this manually. If any of you can help, I'd
really appreciate it.

Bertie.


--
claytorm
------------------------------------------------------------------------
claytorm's Profile:
http://www.excelforum.com/member.php...o&userid=11610
View this thread: http://www.excelforum.com/showthread...hreadid=480244



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
Fill down with references to worksheets [email protected] Excel Worksheet Functions 3 July 10th 08 04:20 PM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Auto Fill with some references locked [email protected] Excel Discussion (Misc queries) 3 February 28th 06 05:50 PM
using auto fill edit or fill handel fill handle or auto fill Excel Worksheet Functions 0 February 10th 06 07:01 PM
Lock or Unlock cell references in a formula for auto fill purposes David P. Excel Discussion (Misc queries) 2 June 6th 05 11:18 PM


All times are GMT +1. The time now is 06:21 PM.

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

About Us

"It's about Microsoft Excel"