PdcCalculation.UserString: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
UserString(Index as long) as String


== Description ==
== Description ==
 
Returns or changes a fixed userfield


== Notes ==
== Notes ==
 
This property sets or returns the value of one of the 10 fixed userfields of the active calculation.
Its index runs from 0 to 9.


== Code example ==
== Code example ==
 
This code example returns the value of userstring 1 of the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc


  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.UserString(0)
</source>
</source>


== Availability ==
== Availability ==

Revision as of 10:40, 21 May 2012

Declaration

UserString(Index as long) as String

Description

Returns or changes a fixed userfield

Notes

This property sets or returns the value of one of the 10 fixed userfields of the active calculation. Its index runs from 0 to 9.

Code example

This code example returns the value of userstring 1 of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.UserString(0)

Availability