hi can u guys help me i try to print PDF from wb in the folder my code giving this error thaks in advance .![]()
Please Login or Register to view this content.
hi can u guys help me i try to print PDF from wb in the folder my code giving this error thaks in advance .![]()
Please Login or Register to view this content.
jay, in future please be specific about WHERE the error is happening? I was eventually able to duplicate the problem... but you are setting the variable Fname equal to a function? what is the purpose of "Fname = Dir" ?
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
hi arkadi thanks for response.
im do not to too much about programing so pl bare with me
i do not know i found this code and altering for printing pdf file so i do not know but in original code that was there the original code was as follows
so i just add my old code in loop and i try and error to fix the prob but i stuck![]()
Please Login or Register to view this content.
btw code find the 1st file and print in pdf but it do not pass at "Fname = dir" so
can u pl help me thanks again
Where did this code come from? It is missing something.... xFname$ = Dir(something) but I don't know what the "something" should be yet...
Try this (notice I added the brackets in red):
![]()
Please Login or Register to view this content.
Last edited by Arkadi; 05-12-2015 at 11:30 AM.
i try this onenow just open 1 st file again and again code stuck at following![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Last edited by jay11; 05-12-2015 at 11:44 AM.
Yes your adaptation of the original code was pretty good, but does not fully work. Truth is, this is a bit more complicated. I will see what I can do and post the results.
Try this version:
![]()
Please Login or Register to view this content.
thanks a lot's it work great![]()
Great jay
Can you mark the thread as solved? Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks