Passing Variables to an Array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oberocrn
    New Member
    • Jan 2006
    • 2

    Passing Variables to an Array

    I am writing a program that produces childrens report cards. On my main form it shows the different subjects, English, Maths ect, and the comments for these subjects are held on seperate word.docs. To insert a comment I am using a user form, what I am trying to achieve, is that everytime a user clicks the select button on the form, the correct comment is inserted in the subject.
    I had thought to pass the global var. "comment" into an array, but so far all I have managed to do, is copy the same comment over and over in the array, and when I try to insert this comment into the main document, it overwrites the previous.

    Can anyone please offer some advice?
  • Niheel
    Recognized Expert Moderator Top Contributor
    • Jul 2005
    • 2432

    #2
    What programming language are you using?
    niheel @ bytes

    Comment

    • oberocrn
      New Member
      • Jan 2006
      • 2

      #3
      Hi There,

      I am trying to use Word, so the whole thing is being done in VBA. I have managed to get all the "comments" into an array, and I can print them off one by one, but trying to load them into one text box, or bookmark has me stumped. I need to find a way of putting one comment at the end of the previous one.

      Comment

      Working...