Thanks rajan Being a while, hope you are well .The idea is right but it doesnt actually help my course let me try and explain again if its gets to row 30 in the first column on the second column it should start from row 1 to 30 again in that order. Hope this explains well
On Wed, Jan 16, 2013 at 12:44 PM, rajan verma <rajanverma1...@gmail.com>wrote: > [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible > for Automatic Cleanup! (rajanverma1...@gmail.com) Add cleanup > rule<https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DY49LfGVGmeryn%252BkWl8mghr7Ru%252FaWXPureYX%252FBp60DG9GyLZtErVzZ1l0SyiT5O%252FMydTAMoBIm6egYielBUY%252Bphz4yfxeeQE7Yc13wzgeo7lQalvud1SNc0ElbFRkCI%252FP7cywFFfzmepJF%252Bf4ujAS%252Fg%253D%253D%26key%3DwjIzT7s3RLnX9CZOTb3ZnmSLwk0sC4hLs3ilgPIEomc%253D&tc=13357869605_1081894048>| > More > info<http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc=13357869605_1081894048> > > > > Sub CreateLinksToAllSheets() > Dim sh As Worksheet > Dim cell As Range > For Each sh In ActiveWorkbook.Worksheets > If ActiveSheet.Name <> sh.Name Then > ActiveCell.Hyperlinks.Add Anchor:=Selection, Address:="", > SubAddress:= _ > "'" & sh.Name & "'" & "!A1", TextToDisplay:=sh.Name > if activeCell.row mod 30 =0 then > ActiveCell.Offset(1, 1).Select > else > ActiveCell.Offset(1, 0).Select > endif > End If > Next sh > End Sub > > > On Wed, Jan 16, 2013 at 5:33 AM, Hilary Lomotey <resp...@gmail.com> wrote: > >> >> Sub CreateLinksToAllSheets() >> Dim sh As Worksheet >> Dim cell As Range >> For Each sh In ActiveWorkbook.Worksheets >> If ActiveSheet.Name <> sh.Name Then >> ActiveCell.Hyperlinks.Add Anchor:=Selection, Address:="", >> SubAddress:= _ >> "'" & sh.Name & "'" & "!A1", TextToDisplay:=sh.Name >> ActiveCell.Offset(1, 0).Select >> End If >> Next sh >> End Sub >> > > > > > -- > Regards > Rajan verma > +91 9158998701 > > -- > Join official Facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > 2) Don't post a question in the thread of another member. > 3) Don't post questions regarding breaking or bypassing any security > measure. > 4) Acknowledge the responses you receive, good or bad. > 5) Jobs posting is not allowed. > 6) Sharing copyrighted material and their links is not allowed. > > NOTE : Don't ever post confidential data in a workbook. Forum owners and > members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/excel-macros?hl=en. > > > > -- Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en.