Relative Sheet Reference
Closed
                                    
                        Reacher                    
                                    -
                            May  1, 2009 at 10:37 AM
                        
Excelguru Posts 261 Registration date Saturday April 11, 2009 Status Member Last seen June 21, 2011 - May 6, 2009 at 04:29 AM
        Excelguru Posts 261 Registration date Saturday April 11, 2009 Status Member Last seen June 21, 2011 - May 6, 2009 at 04:29 AM
        Related:         
- Relative Sheet Reference
 - Windows network commands cheat sheet - Guide
 - Sheet right to left in google sheet - Guide
 - Little alchemy cheat sheet - Guide
 - Vba add sheet - Guide
 - How to screenshot excel sheet - Guide
 
2 responses
                
        
                    Excelguru
    
        
                    Posts
            
                
            261
                
                            Registration date
            Saturday April 11, 2009
                            Status
            Member
                            Last seen
            June 21, 2011
            
            
                    307
    
    
                    
May 2, 2009 at 03:51 AM
    May 2, 2009 at 03:51 AM
                        
                    'use 
for each sht in activeworkbook.worksheets.
next sht
'for switching through all your tabs
'to name the cell A5, use the following in the above loop
ActiveWorkbook.Names.Add Name:="top", RefersToR1C1:="='" & activesheet.name & "'!R5C1"
            for each sht in activeworkbook.worksheets.
next sht
'for switching through all your tabs
'to name the cell A5, use the following in the above loop
ActiveWorkbook.Names.Add Name:="top", RefersToR1C1:="='" & activesheet.name & "'!R5C1"
                
        
                    Excelguru
    
        
                    Posts
            
                
            261
                
                            Registration date
            Saturday April 11, 2009
                            Status
            Member
                            Last seen
            June 21, 2011
            
            
                    307
    
    
                    
May 6, 2009 at 04:29 AM
    May 6, 2009 at 04:29 AM
                        
                    'to name the cell A5 in each worksheet as top
for each sht in activeworkbook.worksheets
sht.activate
ActiveWorkbook.Names.Add Name:="top", RefersToR1C1:="='" & activesheet.name & "'!R5C1"
next sht
Rest of your mail is not clear to understand.
            for each sht in activeworkbook.worksheets
sht.activate
ActiveWorkbook.Names.Add Name:="top", RefersToR1C1:="='" & activesheet.name & "'!R5C1"
next sht
Rest of your mail is not clear to understand.
        
    
    
    
    
May 4, 2009 at 05:00 PM