• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

impossible to find project or library

  • Thread starter Thread starter carry
  • Start date Start date

carry

Guest
Hi.
I'm trying to upgrade to autocad 2012 32 bit
I have a problem with macros in vba.
I downloaded the files for vba, part and vba works.
the problem lies on these lines:

set fs = createobject("scripting.filesystemobject")
set a = fs.createtextfile("c:\lsp\temp\getprofilo.dat", true)
a.writeline userform1.combobox1.text ' 0 sectionname

When it comes to fs= I'm mistaken:
impossible to find the project or library
What should I charge?
Thank you for your help
Greeting
 
I answer, I have failed to declare that fs is an object
dim fs as object
dim a as object

before it worked even without declaring null,
now vba is more demanding....
Hi.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top