Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 21st, 2009, 06:30 PM
Authorized User
 
Join Date: Sep 2007
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Method or Data member not found.

Hi,

I have a sample db with a form which opens a windows dialog box and let the user select an excel file and then import it into the db. The sample db with the forms runs fine but when I import the form in my application and run it I get an error "Method or data member not found". I get the error in the below line -

If IsMissing(hwnd) Then hwnd = Application.hWndAccessApp

Can anybody tell me why am I getting this error and how can I resolve it.

Thank you.
 
Old July 21st, 2009, 10:44 PM
Authorized User
 
Join Date: Sep 2007
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any help/suggestion would be greatly appreciated.

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error: Method or data member not found RayL Access VBA 7 May 5th, 2009 05:50 PM
Compile error - method or data member not found ultimo01 Access VBA 4 January 14th, 2009 09:43 AM
Method or Data Member not Found Related to Crystal ishqvj Beginning VB 6 0 November 29th, 2006 03:49 AM
Method or data member not found Subuana Beginning VB 6 1 March 6th, 2006 03:32 PM
Method or Data member not found Anup Gavate VB How-To 2 March 25th, 2005 04:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.