- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an excel document with numbers representing "Z" values in one column. The next column has the names of the parts in an assembly. I thought I had it working, but it turns out the darn parts aren't updating to the differing values, they are ALL going to one value...WTH??
Another thing I don't know how to do is format this whole thing for how many instances are in each file. Could someone help me out with this?
Here's the code I'm using:
Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:1", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B1") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:2", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B2") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:3", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B3") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:4", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B4") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:5", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B5") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:6", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B6") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:7", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B7") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:8", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B8") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:9", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B9") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:10", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B10") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:11", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B11") Parameter("Copy of 2018_TOS_Insert-Standard Duty Support:12", "TOS") = GoExcel.CellValue("Resize all Legs.xlsx", "Sheet1", "B12")
So basically I need for that to run for as many times as there are legs, with the "Support:1" etc. simply incrementing by one each time, and the same thing for the "B-" number at the very end. Thanks so very much in advance, this will be a HUGE timesaver for my company!
Solved! Go to Solution.