Solved

Expand macro to include Leg#s

Posted on 2011-03-12
10
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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

Industry Leaders: 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!

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

751 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