Go to Post Its Mario Kart with balls and really, whats more fun and frustrating (FIRST style) than Mario Kart? - Adama [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-04-2006, 09:00
dhitchco's Avatar
dhitchco dhitchco is offline
Awards/Photo/Video "wizard"
AKA: Doug Hitchcock
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Rochester, NY USA
Posts: 333
dhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant futuredhitchco has a brilliant future
Excel macro needed

This should be a pretty straigh-forward Excel macro that we're looking for; anybody have such a beast?

Two spreadsheet (workbooks)
Workbook A has one spreadsheet with a separate row for each match/team being scouted. Each row has multiple fields (columns).

Workbook B contains multiple tabs for each team

namely, we want to copy each row from workbook A into the respective "tab" in workbook B into a new row on that spreadsheet tab. If the row in workbook A doesn't correspond to a current tab in workbook B, then create a new tabbed sheet in the master workbook.

I've googled-around for Excel Visual basic macros but can't find this simple cut & paste routine.

Yes, i think the other way to do this is to simply dump all the scouting records into one huge flat spreadsheet and then use the "sort" and "subtotal" functions to group all the records by team number.

Thanks if anyone has this info.....
__________________
The THUNDER just keeps getting LOUDER in 2008....
Team 1511 now supports over 15 FLL teams

RollingThunder....Winner of the 2007 Chairman's Award at Finger Lakes Regional and Spirit Award at Boston.....Winner of 2006 Finger Lakes Regional Engineering Inspriation and Boston Imagery awards.......Winner of 2005 World Championship Rookie All-Star (plus FLR Rookie All-Star, Buckeye Top-Seeded Rookie, GTR Champion, Spirit, and Inspiration)

"Gracious Professionalism is a WAY of life".....
  #2   Spotlight this post!  
Unread 03-04-2006, 14:21
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Excel macro needed

Quote:
Originally Posted by dhitchco
namely, we want to copy each row from workbook A into the respective "tab" in workbook B into a new row on that spreadsheet tab. If the row in workbook A doesn't correspond to a current tab in workbook B, then create a new tabbed sheet in the master workbook.
Since you know the teams ahead of time, you can create tabs for each team.

Or, you can avoid the tabs all together and create an interface page similar to what Karthik did here using MATCH and OFFSET.:
http://www.chiefdelphi.com/forums/sh...threadid=37101. This works well as long as all of the team's data is next to each other. We created a simple macro that sorted the data by team number whenever we saved.

Here is that macro. You'll of course need to change the ranges and column for your data.

Code:
Sub SortMD_Robot()
' SortMD_Robot Macro
' Macro recorded 3/22/2006 by Zach Steele

    Sheet17.Select
    Range("A4:T453").Select
    Selection.Sort Key1:=Range("B4"), Order1:=xlAscending, Header:=xlGuess, _
        OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
        DataOption1:=xlSortNormal
    Range("A4").Select
End Sub

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
    Call SortMD_Robot
    Cancel = False
End Sub
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
paper: 2006 Excel Scouting database Greg Needel Scouting 11 20-04-2006 21:41
Excel Help for Scouting Database Faith Scouting 10 08-03-2006 17:02
Using Inventor without Excel jdiwnab Inventor 4 14-12-2005 14:28
MS Excel to CAD daramana Inventor 1 21-01-2005 10:03
The Grand FIRST team.. programmers and others needed randomperson Programming 0 31-05-2003 23:46


All times are GMT -5. The time now is 02:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi