VB Project - FileSystemObject - object not-defined error

UHsoccer

Well-known Member
Joined
Apr 3, 2002
Messages
1,023
This is really a VB problem.

I created a form and need the FileSystemObject to open files. I know tht somehwere one can select the add-ins in order for this to work.

Can anyone tell me where that is?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If you have not already done so, maybe you are talking about establishing a reference to, for example, Microsoft Scripting Runtime. To do that, press Alt+F11 to go to the Visual Basic Editor. From the menu in the VBE, click Tools > References, then select Microsoft Scripting Runtime (or whatever references you need), and click OK. Press Alt+Q to return to the worksheet.
 
Upvote 0
Perfect, allthough in the VB code editor, I found it under Project / References.

Just the same, thanks very much. I added this solution as a comment to my code for future references. It seems to simply get "un-checked" once in awhile. No clue why, but now I know how to fix it.

Thanks much
 
Upvote 0
Maybe the Tools vs Project is a Windows or Excel version thing; I'm using 2003 on XP, so a footnote in your comment may be useful for users with varying versions.
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top