|
-
Sep 5th, 2012, 05:28 PM
#1
Thread Starter
Lively Member
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?
-
Sep 6th, 2012, 05:27 AM
#2
Re: How to fix versions problems?
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
-
Sep 6th, 2012, 09:03 AM
#3
Thread Starter
Lively Member
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?
-
Sep 7th, 2012, 04:50 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|