Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi! I have a problem I hope someone here can help me with. I have tw sheets in my excel file. Sheet 1: A table of contents. All in the A column (e.g. "1.2.4 This an that") E.g. 1 Introduction 1.1 Purpose 2 3 3.1 3.1.1 Sheet 2: The entire document. An ID# in A and then the text in B. What I want to do is to match all the ID's in sheet two to the ToC i sheet one. I.e. I "simply" want each ID# for each heading in th document to show up in sheet one. I also want all ID's under eac heading to be inserted under each heading in the ToC. It is all a requirement doc listing for all the requirements. Basicall what I want to do is to list all the eq ID's in sheet two under with th corresponding heading in sheet one -- mag741 ----------------------------------------------------------------------- mag7417's Profile: http://www.excelforum.com/member.php...fo&userid=2841 View this thread: http://www.excelforum.com/showthread.php?threadid=49332 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() use word not excel. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam mag7417 wrote : Hi! I have a problem I hope someone here can help me with. I have two sheets in my excel file. Sheet 1: A table of contents. All in the A column (e.g. "1.2.4 This and that") E.g. 1 Introduction 1.1 Purpose 2 3 3.1 3.1.1 Sheet 2: The entire document. An ID# in A and then the text in B. What I want to do is to match all the ID's in sheet two to the ToC in sheet one. I.e. I "simply" want each ID# for each heading in the document to show up in sheet one. I also want all ID's under each heading to be inserted under each heading in the ToC. It is all a requirement doc listing for all the requirements. Basically what I want to do is to list all the eq ID's in sheet two under with the corresponding heading in sheet one. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() You suggest I use word for what I want to do? Well, I wish I could but am working with excel and to tell you the truth I don't understand you comment. How could I accomplish what I want to do then? Sincerely, M -- mag741 ----------------------------------------------------------------------- mag7417's Profile: http://www.excelforum.com/member.php...fo&userid=2841 View this thread: http://www.excelforum.com/showthread.php?threadid=49332 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I use Excel for practically anything. but for what you want to do MsWord seems a better tool. it can autonumber your paragraphs, create an outline etc. If you want to do that in Excel you've got to write a macro like: Sub CreateOutline() Dim rngText As Range Dim rngSumm As Range Dim rngCell As Range Dim lRow& With Worksheets(1) Set rngSumm = Intersect(.UsedRange, .Columns(1)) End With With Worksheets(2) Set rngText = Intersect(.UsedRange, .Columns(1)) End With rngSumm.Clear Set rngSumm = rngSumm.Cells(1) For Each rngCell In rngText.Cells If Len(rngCell) Then lRow = lRow + 1 With rngSumm(lRow, 1) .Hyperlinks.Add Anchor:=.Cells(1), _ Address:="", _ SubAddress:="'" & rngCell.Worksheet.Name & _ "'!" & rngCell.Address(), _ TextToDisplay:=rngCell.Text End With End If Next End Sub -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam mag7417 wrote : You suggest I use word for what I want to do? Well, I wish I could but I am working with excel and to tell you the truth I don't understand your comment. How could I accomplish what I want to do then? Sincerely, M. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I just want to say that I appreciate the help. The thing is that I nee to do it in excel. Not a lot of fun, but it still needs to be done. will try to look at what you sent me. I think perhaps there may be som errors in what you sent me but I am sure -- mag741 ----------------------------------------------------------------------- mag7417's Profile: http://www.excelforum.com/member.php...fo&userid=2841 View this thread: http://www.excelforum.com/showthread.php?threadid=49332 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need to compare two lists and identify cells with same numbers in | Excel Discussion (Misc queries) | |||
Compare two worksheets and identify common entries | Excel Discussion (Misc queries) | |||
HOW DO I COMPARE TWO SHEETS AND IDENTIFY WHICH CELLS DIFFER | Excel Discussion (Misc queries) | |||
compare two spreadsheets and identify records that have any change | Excel Discussion (Misc queries) | |||
Compare and identify new data | Excel Programming |