0
votes

I keep getting an error at Dim fd As FileDialog

ive checked the references and i have Microsoft Office 12.0 Object library checked. is there a different reference im supposed to have checked for this?

Im using Access 2007 if that makes a difference.

1

1 Answers

2
votes

That's a bit weird. Alternatively you can use

Dim f As Object
Set f = Application.FileDialog(3)

That way you don't need early binding.