Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am testing something because I am going to be programming the VBE behind
several workbooks. I was testing the following and I got the error called..Compile Error: Argument not optional. Is there a reason why? Then it focused on the .Export function. Sub CopyOneModule() Dim FName As String With Workbooks("sirNAsequences7") FName = .Path & "\code.txt" .VBProject.VBComponents("Module1").Export FName End With Workbooks("Changemodulecode").VBProject.VBComponen ts.Import FName End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Interpreting "comma" where an optional argument is | Excel Worksheet Functions | |||
Compile Error Argument Not optional | Excel Discussion (Misc queries) | |||
error message: compile error, argument not optional | Excel Programming | |||
optional argument in a function | Excel Programming | |||
Complie Error- Argument not optional | Excel Programming |