Make cell reflect hex value? Bonus: export to image, upload via FTP?

Ajw43022

New Member
Joined
Aug 16, 2009
Messages
28
I have a table of inventory. Colors down the size, Sizes across the top. I'm trying to create a macro that "prepares" the table in a certain way; so I can then make a GIF or JPG out of it, and post it on my Ebay listings online to show a (perhaps even real-ish time) image of my inventory currently in stock for that item.

Here's what I envision. Any steps anyone could help with would be very appreciated.

1. Delete rows for colors w/o any inventory (not hard, i can do this)

2. For each color (each row), I have that color's hex value. Using this, I'd like the macro to set that row's background to equal the color matching the hex value.

3. According to how dark the color is, toggle the text to white (or keep as black).

4. Export the table to an image file (I'm guessing this isn't possible w/in Excel VBA, and I'll just have to do this manually, but on the off-chance it is I thought I'd mention it in case someone wants to blow my mind).

4. Upload that image file to a website via FTP (same here).

Thank you.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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