Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 2 sheets in the same workbook. Each cell in Sheet2 contains a picture
that was imported from a .png file. In Sheet1, I'd like to have a button that, when clicked, selects 5 random pictures from the cells in Sheet2 and copies them to 5 pre-selected cells in Sheet1. The VBA code that generates the random numbers and maps them to the appropriate cells in Sheet2 is working fine, but I can't get the actual copying from one sheet to the other to work. Is this doable, and can I do it without having the sheets flash back and forth in the screen? Ideally, I'd like to see each selected cell in Sheet1 just get filled with a picture. I am a novice at VBA, and I thought I could do this in Excel, but maybe I have to get VB and write a standalone application? Thanks for any insight into this. Jurado |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy values from a cell based on values of another cell | Excel Discussion (Misc queries) | |||
Copy values to a different cell | Excel Worksheet Functions | |||
copy graphs values in a cell | Charts and Charting in Excel | |||
How can I copy values from one cell in a column down to the next c | Excel Discussion (Misc queries) | |||
Copy Values to Below last Populated Cell Q | Excel Programming |