Solved

Expand macro to include Leg#s

Posted on 2011-03-12
10
337 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA Help 18 45
VLOOKUP 6 18
Creating An Intelligent Dropdown 8 30
If help 9 49
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

821 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