Results 1 to 3 of 3

Thread: [RESOLVED] Storing values to be used in later sub routines

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Posts
    7

    Resolved [RESOLVED] Storing values to be used in later sub routines

    hi

    i have a form with a number of text boxes o it to facilitate user input

    one of the text boxes requires a number to be input which redimensions an array

    this array takes input from another textbox

    however, if i do the coding as a private sub to redimension the array, when i go to input info into it, the array is undimensioned

    obviously i need to use something other than a private sub to do this can anyone help

    cheers

  2. #2
    Addicted Member BIOSTALL's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, UK
    Posts
    180

    Re: Storing values to be used in later sub routines

    You could add 'Option Explicit' at the top of your code and store all your variables there i think If not, it myt be possible to do a public or global sub, not quite sure, sorry

    BIOSTALL

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Storing values to be used in later sub routines

    Perhaps Redime Preserve would help you.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width