View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ryguy7272 ryguy7272 is offline
external usenet poster
 
Posts: 2,836
Default Error Message: €˜Argument Not optional

This is probably something easy, but when you dont know what to do it is
hard. Basically, I copied Chips code form the following URL:

http://www.cpearson.com/excel/imptext.htm#Export

Then I run the code and the get an €˜Argument Not optional message. The
following line is tinted blue:
ExportToTextFile

I looked at some DG topics that discussed €˜Argument Not optional but didnt
get anywhere. I Googled the topic, and tried to figure out what is going
on...nothing jumped out at me. Basically, I didnt find anything that seemed
helpful. I also looked under Tools References (I had my doubts about this,
but tried it anyway). I clicked on Export 1.0 Type Library; it still doesnt
work.

Typically, I am resourceful, and try to resolve issues by myself, but Ive
hit a wall, and dont know what to do now. I thought I was just starting to
get somewhat proficient with this VBA stuff and then something that should be
extremely simple (can you say copy/paste) vexes me. Can anyone offer some
insight or give me some kind of guidance

Thanks so much!

--
RyGuy