Capture Cell Style in VBA

MrLookout9

New Member
Joined
Jun 25, 2011
Messages
27
Hello and thank you for your help. I have a workbook with two sheets ("Data", "Dashboard"). I have a drop down list of movies on "Dashboard" that has a list of movies contained on "Data". On "Data" I have Cell Styles associated with each Movie. I would like to pass this Cell Style from Data to Dashboard. I have already built a macro to copy the contents of Dashboard A1 (the list) switch to "Data", search for the contents, return to "Dashboard" and update the Cell Style. The only piece I am missing is code to capture the cell style and store it as a variable. Any suggestions?
{Data} Hollowman
Titanic
Avatar

<tbody>
</tbody>
{Dashboard List} Titanic

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You can copy the cells and paste formats to another cell. You can't copy and paste character-level (rich-text) formatting to another cell.
 
Upvote 0

Forum statistics

Threads
1,216,178
Messages
6,129,326
Members
449,501
Latest member
Amriddin

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