Share via

Excel animation using table values loop

Anonymous
2024-10-06T18:01:46+00:00

Hello all,

I have a three columns table and three TextBox objects in another sheet

the name of the TextBox objects is the same as one of the columns (TextBox Name)

I am trying to create VBA code to iterate through the table and change the rectangle objects color according to the color name and insert the text from the "TextBox Text" column in the text box

With the code running, is it possible to capture the changes into an animation MOV or similar video file?

Thanks for any help or insight

TextBox Name TextBox Color TextBox Text
Station_A01 Black Model_A
Station_A01 Red Model_A
Station_A01 Green Model_A
Station_A01 Blue Model_A
Station_A01 Blue Model_A
Station_A01 Blue Model_A
Station_A01 Red Model_A
Station_A01 Red Model_A
Station_A01 Red Model_A
Station_A01 Green Model_A
Station_A01 Green Model_A
Station_A01 Green Model_B
Station_A01 Green Model_B
Station_A01 Green Model_B
Station_A01 Green Model_B
Station_A01 Blue Model_B
Station_A01 Blue Model_B
Station_A01 Blue Model_B
Station_A01 Blue Model_B
Station_A01 Blue Model_B
Station_A01 Grey Model_B
Station_A01 Grey Model_B
Station_A01 Grey Model_B
Station_A01 Grey Model_B
Station_A02 Green Model_C
Station_A02 Grey Model_C
Station_A02 Grey Model_C
Station_A02 Grey Model_C
Station_A02 Grey Model_C
Station_A02 Grey Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Red Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A02 Yellow Model_C
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Blue Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_D
Station_A03 Black Model_E
Station_A03 Black Model_E
Station_A03 Black Model_E
Station_A03 Red Model_E
Station_A03 Red Model_E
Station_A03 Red Model_E
Station_A03 Red Model_E
Station_A03 Red Model_E
Station_A03 Red Model_E
Microsoft 365 and Office | Excel | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-07T17:48:43+00:00

    Hello Andreas,

    thanks, for the reply. the sample data is shown in the body of the message.

    I did try using Copilot after I posted this and got the solution from it so this issue is now closed

    thank you very much

    K

    Was this answer helpful?

    0 comments No comments
  2. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-10-07T03:55:18+00:00

    Was this answer helpful?

    0 comments No comments