Solved

Expand macro to include Leg#s

Posted on 2011-03-12
10
336 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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 500 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
 

Author Comment

by:rtod2
ID: 35118317
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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 demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

864 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now