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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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