Computer Learning Zone CLZ Access Excel Word Windows

I remain the optimist: you just do your best and hope for the best. But it's an evolving state of mind.

-Neil Peart
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > Courses > Access > Templates > ABCD > Part 5 > < Part 4 | Part 6 >
Back to ABCD Core Part 5    Comments List
ABCD 51 Upload Images   Link   Email  
Brad Bogle        
2 years ago
I'm getting a Run-time error '438': "Object doesn't support this property or method" on these lines:

        .Filters.Add "JPG files", "*.jpg"
        .Filters.Add "GIF files", "*.gif"
        .Filters.Add "PNG files", "*.png"

I've tried commenting out individual lines but it returns the same error
Richard Rost             
2 years ago
Hi Brad. I don't know what to say, except it should work. Works for me. Does it work in MY copy of the database if you download it to your system?
Brad Bogle        
2 years ago
Yes, your copy does work but there isn't a DB file for after lesson 1, they start at lesson 2 and there are so many changes between 1 and 2 that I can't pinpoint the mistake in my code. So yes, to answer my own question, the mistake is most likely mine
Brad Bogle        
2 years ago
Woohoo!!! I found the problem Richard. I had:

Set FD = Application.FileDialog(msoFileDialogFolderPicker)

It should have been:

Set FD = Application.FileDialog(msoFileDialogFilePicker)
Richard Rost             
2 years ago
Let's see a little more of your code. Screen shot it for me... especially I want to see the With statement above that.
Richard Rost             
2 years ago
There ya go!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in ABCD Core Part 5.


The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/12/2024 8:26:58 PM. PLT: 0s