General information
Category:
COM/DCOM and OLE Automation
Title:
Excel replace function
Environment versions
Network:
Windows 2003 Server
Hi All,
I need some help in VFP Excel automation. This is what I have done so far.
•Open excel workbook in VFP
•Formatted the active sheet the way I want
What I need to do now is ..
•Replace all “$null” with “0” in a excel sheet with in my VFP program.
I recorded macros in excel and came up with this.
Cells.Replace What:="$null", Replacement:="0", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
I just don’t know how to apply that within my VFP prg.
Please HELP !!!!
TIA
- Jeana -
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only