kyletreyfield
Technical User
I am trying to use the following VBA code but don't know how to put it in the language VFP can use.
I know I need to express the variables differently but don't know exactly how to do it.
Thanks in advance.
Code:
With .ActiveWorkBook.ActiveSheet
Dim tbl As ListObject
Dim rng As Range
Set rng = Range(Range("A1"), Range("A1").SpecialCells(xlLastCell))
Set tbl = ActiveSheet.ListObjects.Add(xlSrcRange, rng, , xlYes)
tbl.TableStyle = "TableStyleMedium15"
Endwith
I know I need to express the variables differently but don't know exactly how to do it.
Thanks in advance.