Ask Experts Questions for FREE Help !
Ask
    Patricia123's Avatar
    Patricia123 Posts: 0, Reputation: 1
    New Member
     
    #1

    Jun 28, 2007, 07:16 AM
    Module error
    hello I'm trying to print a report by writing a module in Access2003 I can't find what's the error please can you help me with this and find below the module:


    Private Sub CMDPRINT_CLICK()
    Dim I As Integer
    For I = 1 To 3
    DoCmd.OpenReport "list"
    list![X]= "I"
    Print OUT, FROM, list, Page, 1
    Docmd.CLOSEReport "list"
    Next I
    End Sub


    the error showing: Compile error
    Method not valid without suitable object

    thanks in advance:)

Check out some similar questions!

Specified Module Could Not be Found [ 1 Answers ]

All right well, I just registered today so Im not that sure where Im really supposed to post this question at. The thing is that whenever I try to download or search the web it just gives me a similar error message that goes by "The Specified Module Could Not Be Found". For example, if I were to...

Explorer "specified module could not be found [ 1 Answers ]

Whenever I try and download anything from the internet, I get a "Specified Module could not be found" error message. The computer was given to me. Should I do a XP Home repair on the system?

The specified module could not be found [ 2 Answers ]

When ever I try to download something on internet explorer a message saying 'The specified module could not be found' Can someone please help me?:confused:


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.