Hi
I have and Old script using create object.
It create a txt dokument and use it for printning on a zebra printer.
It Can’t run on 64 bit Excel.
Is there a substitut for create object in Excel 64 bit ?
Regards
Tony
Hi
I have and Old script using create object.
It create a txt dokument and use it for printning on a zebra printer.
It Can’t run on 64 bit Excel.
Is there a substitut for create object in Excel 64 bit ?
Regards
Tony
There must be no differences for x32 and x64 system if you create object by standard method. Could you show the sсript.
Hi Thank you
Module1
It makes failure in create object, when runned in excel 64 bit.
Please Login or Register to view this content.
Last edited by Tonyhansson; 12-18-2020 at 01:49 PM.
Please check
MyFile = "C:/testfil.txt"
it must be MyFile = "C:\testfil.txt"
On my x64 system the script is ok after change the path.
Hi Thank you
It still makes failure (The path mistakes is made by me), but is not the issue.
The posted link, I dont understand what I have to change, can you help me.
If I google Create object, it should not be possible in 64 bit, to use Xactive.
So how can I change the script ?
this is very old Microsoft recommendation but now the system must be x64 only.
@Tonyhansson the script is good by something wrong in the application environment. I agree about References and you can check the script as VBS also.
Any ActiveCell.Offset must be change to values and call print_label .
Save the scrip as .vbs and start it from explorer.Please Login or Register to view this content.
Thank for your time.
I dont have the knowlegde to see the issue.
Could I ask you to look on the complete file, and if nothing is wrong, it must be the enviroment?
I think you might need to attach a workbook for this to happen.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Yes thank you
There is no problem in the file except
MyFile = "testfil.txt" again. There must be full path.
Thank you so much for your time.
It is running without the path in 32 bit, I will chance it, and then I know it must be enviroment and references.
This help me a lot, now I Can go on to next step
Merry Christmas
Marry Christmas to you too
---
Hans
"IT" Always crosses your path!
May the (vba) code be with you... if it isn't; start debugging!
If you like my answer, Click the * below to say thank-you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks