Hey guys,
I built a form that exports a table to Word. I am using Bookmarks in the Word Template and one of the fields is Currency. I am having a hard time trying to get the value sent over to word with currency. I have tried the below:
.formfields("Cost").result = Me.txtcourt = Format(CCur(Me.txtcourt), "Currency")
.formfields("Cost").result = Me.txtcourt.value = Format(CCur(Me.txtcourt.value), "Currency")
.formfields("Cost").result = Me.txtcourt.value = Format(TextBox16.Value, "$.00")
.formfields("Cost").result = Me.txtcourt.value = Format(Me.TextBox16.Value, "$#.00")
Any suggestions? I believe the table field is listed as a text field because I do have a module that is converting that to currency with the following code:
Me.txtcourt = CCur(Me.txtcourt)
Any assistance would be greatly appreciated. Thanks!!
I built a form that exports a table to Word. I am using Bookmarks in the Word Template and one of the fields is Currency. I am having a hard time trying to get the value sent over to word with currency. I have tried the below:
.formfields("Cost").result = Me.txtcourt = Format(CCur(Me.txtcourt), "Currency")
.formfields("Cost").result = Me.txtcourt.value = Format(CCur(Me.txtcourt.value), "Currency")
.formfields("Cost").result = Me.txtcourt.value = Format(TextBox16.Value, "$.00")
.formfields("Cost").result = Me.txtcourt.value = Format(Me.TextBox16.Value, "$#.00")
Any suggestions? I believe the table field is listed as a text field because I do have a module that is converting that to currency with the following code:
Me.txtcourt = CCur(Me.txtcourt)
Any assistance would be greatly appreciated. Thanks!!