Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Has anyone done a Macro that displays diferant pictures of fotos?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about using a different program?????
I really like: http://www.irfanview.com/ MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
IrfanView rocks!
-- Vasant "Dave Peterson" wrote in message ... How about using a different program????? I really like: http://www.irfanview.com/ MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You kids with your lingo!
Vasant Nanavati wrote: IrfanView rocks! -- Vasant "Dave Peterson" wrote in message ... How about using a different program????? I really like: http://www.irfanview.com/ MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? -- Dave Peterson -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos? You can use a userform with a WebBrowser control on it. Then use code like this Private Sub UserForm_Click() Dim pthPictures As String Dim fleCurrPic As String pthPictures = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\" fleCurrPic = Dir(pthPictures & "*.jpg") Do While Len(fleCurrPic) 0 Me.WebBrowser1.Navigate pthPictures & fleCurrPic Do DoEvents Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE Application.Wait Now + TimeValue("00:00:02") fleCurrPic = Dir Loop MsgBox "Done" End Sub See here for more on the WebBrowser control http://www.dicks-blog.com/archives/2...owser-control/ -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
how is that, how do you create a userfrom with a webbrowser control
"Dick Kusleika" wrote: MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? You can use a userform with a WebBrowser control on it. Then use code like this Private Sub UserForm_Click() Dim pthPictures As String Dim fleCurrPic As String pthPictures = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\" fleCurrPic = Dir(pthPictures & "*.jpg") Do While Len(fleCurrPic) 0 Me.WebBrowser1.Navigate pthPictures & fleCurrPic Do DoEvents Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE Application.Wait Now + TimeValue("00:00:02") fleCurrPic = Dir Loop MsgBox "Done" End Sub See here for more on the WebBrowser control http://www.dicks-blog.com/archives/2...owser-control/ -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To get to the VBE, use Alt+F11.
Select your project and choose Userform from the Insert menu. Right click the control toolbox and choose Additional Controls. Add the Microsoft Web Browser by check its box. Now you can add this control to the form like any other control. -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com MESTRELLA29 wrote: how is that, how do you create a userfrom with a webbrowser control "Dick Kusleika" wrote: MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? You can use a userform with a WebBrowser control on it. Then use code like this Private Sub UserForm_Click() Dim pthPictures As String Dim fleCurrPic As String pthPictures = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\" fleCurrPic = Dir(pthPictures & "*.jpg") Do While Len(fleCurrPic) 0 Me.WebBrowser1.Navigate pthPictures & fleCurrPic Do DoEvents Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE Application.Wait Now + TimeValue("00:00:02") fleCurrPic = Dir Loop MsgBox "Done" End Sub See here for more on the WebBrowser control http://www.dicks-blog.com/archives/2...owser-control/ -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excelent !!!!
That is IT,,, another question, is there a way to make the pictures tu fit the form? "Dick Kusleika" wrote: To get to the VBE, use Alt+F11. Select your project and choose Userform from the Insert menu. Right click the control toolbox and choose Additional Controls. Add the Microsoft Web Browser by check its box. Now you can add this control to the form like any other control. -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com MESTRELLA29 wrote: how is that, how do you create a userfrom with a webbrowser control "Dick Kusleika" wrote: MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? You can use a userform with a WebBrowser control on it. Then use code like this Private Sub UserForm_Click() Dim pthPictures As String Dim fleCurrPic As String pthPictures = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\" fleCurrPic = Dir(pthPictures & "*.jpg") Do While Len(fleCurrPic) 0 Me.WebBrowser1.Navigate pthPictures & fleCurrPic Do DoEvents Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE Application.Wait Now + TimeValue("00:00:02") fleCurrPic = Dir Loop MsgBox "Done" End Sub See here for more on the WebBrowser control http://www.dicks-blog.com/archives/2...owser-control/ -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If there is, I don't know it. I think you'll have size all your pictures at
design time. -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com MESTRELLA29 wrote: Excelent !!!! That is IT,,, another question, is there a way to make the pictures tu fit the form? "Dick Kusleika" wrote: To get to the VBE, use Alt+F11. Select your project and choose Userform from the Insert menu. Right click the control toolbox and choose Additional Controls. Add the Microsoft Web Browser by check its box. Now you can add this control to the form like any other control. -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com MESTRELLA29 wrote: how is that, how do you create a userfrom with a webbrowser control "Dick Kusleika" wrote: MESTRELLA29 wrote: Has anyone done a Macro that displays diferant pictures of fotos? You can use a userform with a WebBrowser control on it. Then use code like this Private Sub UserForm_Click() Dim pthPictures As String Dim fleCurrPic As String pthPictures = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\" fleCurrPic = Dir(pthPictures & "*.jpg") Do While Len(fleCurrPic) 0 Me.WebBrowser1.Navigate pthPictures & fleCurrPic Do DoEvents Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE Application.Wait Now + TimeValue("00:00:02") fleCurrPic = Dir Loop MsgBox "Done" End Sub See here for more on the WebBrowser control http://www.dicks-blog.com/archives/2...owser-control/ -- Dick Kusleika Excel MVP Daily Dose of Excel www.dicks-blog.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i add a song in my slide show | Charts and Charting in Excel | |||
want to make a slide show in excel | Excel Discussion (Misc queries) | |||
Slide show | Excel Discussion (Misc queries) | |||
slide show | Setting up and Configuration of Excel | |||
chart slide show | Charts and Charting in Excel |