the array thing sounds great,how would such a loop look? how is "do until button pressed" translated into VBA code?
what i want to do is have the user click on the scrolling pics, to choose the one he/she wants.
I have this so far:
Private Sub CommandButton1_Click()
Image1.Picture = LoadPicture("C:\Documents and Settings\Owner\Desktop\pic1.bmp")
Application.Wait Now() + TimeValue("00:00:01")
Image1.Picture = LoadPicture("C:\Documents and Settings\Owner\Desktop\pic2.bmp")
Application.Wait Now() +...
I have been trying to figure out how I could show images on a VBA userform, but have this image keep changing until the user clicks on it.
the idea i have is to show different images of a die holding different numbers, and the user would click it to try and get a certain number.
any ideas...
i want to use pics. but would that be a similar code. ex:
Private Sub Command1_Click()
if a = 1 then
Image1.Picture = (and the destination of the file)
else
Image1.Picture = (a different destination of the other file)
End Sub
Hi, I was wondering If anyone could help me with something I have been trying to figure out. Is there a way I could make a userform,insert two image boxes on it, and then somehow code it so that according to the users input, two different pictures would show.
for example, if i ask the user for...
I am working with userforms and i was wondering if it was possible to click a button on a userform, and program that button to show another userform for a certain amount of time and then show a another userform. So, one button click --> show two different userforms one at a time for certain time...
hey everyone. I am new to the site and to VBA but not too new to the programming world. Ive been learning VBA for about a month now and Ive been able to catch on to it quickly. Now i am working on a project, a casino craps game. I finished the basic project [getting the random numbers for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.