sumulong
2007-03-08, 07:34 PM
Need help on a problem that I need automated. Unfortunately, I have no clue on how to do it let alone which way, lisps or VBA. So here's the obstacle.
My title block has 10 rows of revision history, each row having 6 columns. Rev number, description, drafter, date drafted, approver and date approved. All are attributed. Some columns have multiple lines. The description has 3 lines, an option to have a 1 line description, left centered and the other option is a 2 liner, left justified stacked, just in case it doesn't fit the single line option. The drafter and approver column also has 3 lines, 1 option, centered, is to have the drafter's initial only. The 2nd option, center justified stacked, is to have the requester and drafter's initial. Same goes w/ the approver column but instead of the requester and drafter's initials for the stacked option, it's the first and last name of the approver. Each attribute has a unique tag of course.
So, each row has 12 attributes multiply that by 10 and you have 120 lines of attributes. The problem that sparked all this is that we have a mandate to keep the history of the revisions and move the rows only 1 at a time so we can insert the new revision. So we have to retype each line of revision to accommodate for the 1 new revision line. Fortunately if there's a number of years in between revisions, we can discard the older lines.
Here's what I was hoping to get done. Of course, automate the process by moving each line's data, "1 up" for a lack of a better description. For ex. (move attribute data in C1 - C12 to B1 - B12). In the process, you'll be asked from which line, 2 thru 10, do you want to move. For ex, I want to move all the data starting from line 7 then you click ok and it does it. Essentially, the first line would be reserved for a default note for previous revisions that's why I only indicated lines 2 thru 10.
Do I use lisps or VBA or something else? Is this fairly easy to figure out or do we need to hire someone for this type of programming? Has someone ask for something similar that I can just tweak?
Please advise. Hopefully something similar already exist somewhere.
Thanks!
My title block has 10 rows of revision history, each row having 6 columns. Rev number, description, drafter, date drafted, approver and date approved. All are attributed. Some columns have multiple lines. The description has 3 lines, an option to have a 1 line description, left centered and the other option is a 2 liner, left justified stacked, just in case it doesn't fit the single line option. The drafter and approver column also has 3 lines, 1 option, centered, is to have the drafter's initial only. The 2nd option, center justified stacked, is to have the requester and drafter's initial. Same goes w/ the approver column but instead of the requester and drafter's initials for the stacked option, it's the first and last name of the approver. Each attribute has a unique tag of course.
So, each row has 12 attributes multiply that by 10 and you have 120 lines of attributes. The problem that sparked all this is that we have a mandate to keep the history of the revisions and move the rows only 1 at a time so we can insert the new revision. So we have to retype each line of revision to accommodate for the 1 new revision line. Fortunately if there's a number of years in between revisions, we can discard the older lines.
Here's what I was hoping to get done. Of course, automate the process by moving each line's data, "1 up" for a lack of a better description. For ex. (move attribute data in C1 - C12 to B1 - B12). In the process, you'll be asked from which line, 2 thru 10, do you want to move. For ex, I want to move all the data starting from line 7 then you click ok and it does it. Essentially, the first line would be reserved for a default note for previous revisions that's why I only indicated lines 2 thru 10.
Do I use lisps or VBA or something else? Is this fairly easy to figure out or do we need to hire someone for this type of programming? Has someone ask for something similar that I can just tweak?
Please advise. Hopefully something similar already exist somewhere.
Thanks!