I'm very new with coding... but here we go:
I have a bookmark in the template file. I am trying to assign the bookmark's value to a variable (a long).
The user enters in an "ASK" field linked to a 'cur_rev' bookmark. I need to take the value of that bookmark (say revision number '5') and save it as a variable called 'current_revision' which is a 'long' in a VBA 'sub' macro.
I can't seem to get this working no matter how much I search in the help files and this forum.
Eventual goal:
The value of this bookmark that gets converted to a long is going to be used to create a table based the current revision entered in the ASK field. (that's the ultimate goal)
code snipit:
I'd really appreciate some help!
I have a bookmark in the template file. I am trying to assign the bookmark's value to a variable (a long).
The user enters in an "ASK" field linked to a 'cur_rev' bookmark. I need to take the value of that bookmark (say revision number '5') and save it as a variable called 'current_revision' which is a 'long' in a VBA 'sub' macro.
I can't seem to get this working no matter how much I search in the help files and this forum.
Eventual goal:
The value of this bookmark that gets converted to a long is going to be used to create a table based the current revision entered in the ASK field. (that's the ultimate goal)
code snipit:
Code:
Dim current_revision As Long
current_revision = ' code to assign the value of the 'cur_rev' bookmark in the "ActiveDocument"
I'd really appreciate some help!