Home > Software engineering >  VBS textual substitution code in VB how to write?
VBS textual substitution code in VB how to write?

Time:10-12

The first question:

Known: variable F folder path
A code:
Whether F has assigned a path value
If the assignment is to open the variables F folder

The second question:

Following this code for VBS, I is to convert the VBS program to VB,
Specific functions as follows:

Array (subscript variables)=1 in the Word document only string
Array (subscript variables)=2 Excel spreadsheet table element values
Variable 1=document object

Code function is to specify the replacement element value [form] to [document specified string]

Because this code has a few lines of I don't understand, ask god to help write a with the same function of VB code below!
(in addition, this code 3-8 before the ". "what meaning be? Line 8 sentences at the back of the ",,,,,,,,,,,, "what does that mean?)

Variable 1. HomeKey 6, 0
With variable 1. Find
. The Text=1 (subscript variables) array. The Text
2. Replacement. Text=array (subscript variables)
The Forward=True
The Wrap=wdFindContinue
. MatchWildcards=True
The Execute,,,,,,,,,,,, 2
End With

The document object. The save () 'what kind of values in this function ()? Why can run in the VBS, VB will prompt error?
  • Related