Solved

Expand macro to include Leg#s

Posted on 2011-03-12
10
331 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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.

707 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

18 Experts available now in Live!

Get 1:1 Help Now