Read and write from excel sheet to another excel sheet using java or vb

ChuckFin

New Member
Joined
Aug 20, 2013
Messages
2
:confused:Hi All,

I have an excel document that's a very long list and i want to automate my process with extract certain information for my new document, but using java. I am also open to vb.

So I have 5 columns with information that i will need to use to create this new excel sheet. See example:


Sample Source File:
CatIDWebsiteLevel Access AccessKey
hondawww.honda.com2https://access.car-me.com65ri9387rg 34fdwtrw32
toyotawww.toyota.com2https://access.car-me.comt34t34t34yu56g36ert43
acurawww.acura.com2https://access.car-me.comnftr65237u6t24125y547
hyundai2https://access.car- me.com46332r347656uhjndatw

<tbody>
</tbody>

And i want to take that and make it look like this:
"cars/images/[INSERT CatID]/car_[INSERT CatID]_color.jpg"
:confused:
CatIDWebsitePrevimagePrevimage2WebEntranceWebEntrance2MobileimageMobileimage2AccesslevelAccessKey
hondawww.honda.comcars/images/honda/Red/car_honda_color.jpgcars/images/honda/Red/car_honda_color2x.jpgcars/images/honda/Red/car_honda_color.jpgcars/images/honda/Red/car_honda_color2x.jpgcars/images/honda/Red/car_honda_color.jpgcars/images/honda/Red/car_honda_color2x.jpghttps://access.car-me.com265ri9387rg 34fdwtrw32
toyotawww.toyota.comcars/images/toyota/Red/car_toyota_color.jpgcars/images/toyota/Red/car_toyota_color2x.jpgcars/images/toyota/Red/car_toyota_color.jpgcars/images/toyota/Red/car_toyota_color2x.jpgcars/images/toyota/Red/car_toyota_color.jpgcars/images/toyota/Red/car_toyota_color2x.jpghttps://access.car-me.com2t34t34t34yu56g36ert43
acurawww.acura.comcars/images/acura/Red/car_acura_color.jpgcars/images/acura/Red/car_acura_color2x.jpgcars/images/acura/Red/car_acura_color.jpgcars/images/acura/Red/car_acura_color2x.jpgcars/images/acura/Red/car_acura_color.jpgcars/images/acura/Red/car_acura_color2x.jpghttps://access.car-me.com2nftr65237u6t24125y547
hyundaicars/images/hyundai/Red/car_hyundai_color.jpg cars/images/hyundai/Red/car_hyundai_color2x.jpg cars/images/hyundai/Red/car_hyundai_color.jpgcars/images/hyundai/Red/car_hyundai_color2x.jpgcars/images/hyundai/Red/car_hyundai_color.jpgcars/images/hyundai/Red/car_hyundai_color2x.jpghttps://access.car-me.com246332r347656uhjndatw

<tbody>
</tbody>

So, the idea is that i want to take the CatID and use it to create the name of the file of the .jpg and also in the path. See honda in bold. Its also case sensitive

The structure that i want to accomplish is:

cars/images/[INSERT CatID]/car_[INSERT CatID]_color.jpg

Everything else is much dymanic


I can provide more information, if needs be.
Thanks in advance for all the help :)
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,214,998
Messages
6,122,643
Members
449,093
Latest member
Ahmad123098

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top