Results 1 to 4 of 4

Thread: How to fix versions problems?

  1. #1
    Lively Member
    Join Date
    Jan 11
    Posts
    110

    How to fix versions problems?

    Hi,
    I have the following problem: my program VBA/Excel only works on computers that have the same version of VBA. Is it possible fix this using VBA commands?

  2. #2
    PowerPoster
    Join Date
    Dec 04
    Posts
    18,593

    Re: How to fix versions problems?

    not enough information
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Lively Member
    Join Date
    Jan 11
    Posts
    110

    Re: How to fix versions problems?

    Yes, I imagined, not enough information -I don't know yet what version they have.
    They tried to open the program on the company's computer and it did not work. Must be because they Excel is one very old, perhaps 2003 or older.

    In this case, everything should be done in another version or is there a simple way to solve?

  4. #4
    PowerPoster
    Join Date
    Dec 04
    Posts
    18,593

    Re: How to fix versions problems?

    most code written in 2000 /2003 will work on later versions

    in some cases you may need to run conditional statements, dependent upon version
    2010 and later may be more of a problem as i believe it is at least partially based on .net rather than vb6, but as i have avoided the later versions my experience is very limited
    koolsid, or someone that uses multiple versions may be able to help more
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

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