• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

FN function in VBA

Dear all,


I'm trying to run a macro but get an error. When i'm looking into the code I get this:

[pre]
Code:
Sub Pic_PrintData_Click()
Dim iCounter As Integer

For iCounter = 0 To sht_Temp.Range("A65535").End(xlUp).Row - 2
Call fn_Filter(Sheets(sht_Temp.Range("A2").Offset(iCounter, 0).Value), "N", "O", "D", "d")
Call fn_Print(Sheets(sht_Temp.Range("A2").Offset(iCounter, 0).Value))
Next iCounter
MsgBox "Data print setup.", vbOKOnly + vbInformation, "Success!"
End Sub
[/pre]
[edited with backticks]


It seems to be going wrong at the fn_print section. But i cant figure out what the fn function does.


Does anybody know this?


Dear regards,


Marc
 
It looks like someone wrote a sub routine with those arguments which has gone missing from the project.

[pre]
Code:
Public Sub fn_Print(arguments)
End Sub
[/pre]

It would be a similar sub routine as fn_Filter.
 
Hi, marcvanderpeet12!

Any chance of uploading a sample file so as to have all the VBA code available?

Regards!
 
Back
Top