Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub subPopulatedocument
Dim str_bk as string
Dim int_cnt as integer
int_cnt = 1
do until int_cnt = 5
str_bk = "TEST" & int_cnt
ActiveDocument.Bookmarks(str_bk).Range.Text = "hello world"
int_cnt = int_cnt + 1
loop
end sub
Sub subPopulatedocument
Dim str_bk as string
Dim int_cnt as integer
Dim str_file(5) as string
str_file(1) = "First bit of data"
str_file(2) = "Third bit of data"
str_file(4) = "fourth bit of data"
str_file(5) = "fifth bit of data"
int_cnt = 1
do until int_cnt = 5
str_bk = "TEST" & int_cnt
ActiveDocument.Bookmarks(str_bk).Range.Text = str_file(int_cnt)
int_cnt = int_cnt + 1
loop
end sub