D
Dennis
Can the Excel VBA object model be connected to VB6 so that the VBA code can be
compiled into an exe?
In other words can VBA code such as:
============================================================================
Selection.Sort Key1:=rngsort, Order1:=xlDescending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
or
Rows("1:1").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="=" & col1, Operator:=xlAnd
Selection.AutoFilter Field:=4, Criteria1:="=" & col4, Operator:=xlAnd
or
With curwk
Set rng = Intersect(.AutoFilter.Range.Offset(1, 0) _
.Resize(.AutoFilter.Range.Rows.Count - 1) _
.SpecialCells(xlCellTypeVisible), _
.AutoFilter.Range.Columns(ii))
End With
etc.
============================================================================
be complied into an exe or a DLL in VB6?
TIA
Dennis
compiled into an exe?
In other words can VBA code such as:
============================================================================
Selection.Sort Key1:=rngsort, Order1:=xlDescending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
or
Rows("1:1").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="=" & col1, Operator:=xlAnd
Selection.AutoFilter Field:=4, Criteria1:="=" & col4, Operator:=xlAnd
or
With curwk
Set rng = Intersect(.AutoFilter.Range.Offset(1, 0) _
.Resize(.AutoFilter.Range.Rows.Count - 1) _
.SpecialCells(xlCellTypeVisible), _
.AutoFilter.Range.Columns(ii))
End With
etc.
============================================================================
be complied into an exe or a DLL in VB6?
TIA
Dennis