Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Expand macro to include Leg#s

Posted on 2011-03-12
10
Medium Priority
?
345 Views
Last Modified: 2012-05-11
I need to add Leg#s before each spread.

Leg1 would always appear next to the name of the Spread where Leg2 is the next row of the same spread.  The same would go for Leg3 and Leg4 should there be a situation where they exist.  The Leg numbers should start over as soon as a new Spread is introduced.

Column headers should also be bold also as well as the title Account Trade History.
trade-2.1g.xlsm
0
Comment
Question by:rtod2
  • 7
  • 3
10 Comments
 
LVL 10

Expert Comment

by:Makrini
ID: 35118161
Does this do it?

 Copy-of-trade-2.1f-1.xlsm
0
 

Author Comment

by:rtod2
ID: 35118185
Not really.  Each trade shown has either one or two legs.  That was badly defined by me.  I made that more complicated than it should be.  There are only one or two-legged trades.  Nothing else exists.

I also wanted the title and headers bolded though.  
0
 

Author Comment

by:rtod2
ID: 35118188
Note that there is no change in the dating sequence yet.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Makrini
ID: 35118193
Can you type in an example of some of the "leg" results you want and I'll see if I can understand what you are after
0
 

Author Comment

by:rtod2
ID: 35118197
At some point I would like to talk through this with someone but that communication isn't allowed here.  Suggestions are greatly appreciated.  My developer suggested I get it to this point first.
0
 

Author Comment

by:rtod2
ID: 35118207
The first several rows here have a leg# added http://screencast.com/t/WF0hnvqi8pon
0
 

Author Comment

by:rtod2
ID: 35118240
They are nothing but individual rows or paired rows really.  One right after another.   1,1,1,12,12,12,1,1 etc.
0
 
LVL 10

Accepted Solution

by:
Makrini earned 2000 total points
ID: 35118268
Copy-of-trade-2.1f-1.xlsm

I think I see what you mean.  Is this any better?
0
 

Author Closing Comment

by:rtod2
ID: 35118289
Perfect.  See redirect
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question