ok bro but you understood what i mean to say
ok bro but you understood what i mean to say
I am not sure
btw.
Bro (novel), a novel by Vladimir Sorokin
Bro (TV channel), a Philippines TV network
Bro (instrument), a Vietnamese musical instrument
as I said, try to not use slang and mental shortcuts or street language
sandy
I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt
No Doubt Macro is not correct
macro saved the file as tab delimited & i dont want that to happen it should saved the file as xlcsv
So plz correct the macro Sir
Last edited by fixer; 05-07-2020 at 06:22 PM.
post#54
change line
toCode:Let rngOut.Value = Evaluate("If({1},SUBSTITUTE(" & rngOut.Address & ", ""0"", """"))")
I really don't know what I did but it worksCode:Let rngOut.Value = Evaluate("If({1},SUBSTITUTE(" & rngOut.Address & ", ""0"", "",""))")
CSV
csv1.png
and after open in Excel
NSE 6A GTT NSE 6A GTT NSE 6A GTT NSE 6A GTT NSE 6A GTT
Last edited by sandy666; 05-07-2020 at 07:54 PM.
sandy
I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt
Sandy Sir Thnx Alot, now i ran the macro and i saw the details
Now the issue is with file saving method
Something is causing mistake from these lines plz have a look Sandy SirCode:w1.Close w2.Save Let Application.DisplayAlerts = False w2.Close Let Application.DisplayAlerts = True w3.Close ' End Sub
some changes is required in this
w1 and w3 is safe, issue is with w2 plz see
Last edited by fixer; 05-07-2020 at 10:04 PM.
as I said before: plz = PLEASE ! so use it
I used the same code with changes from post #65 and I don't see any problem
You even didn't show any error
and again: I DON'T KNOW VBA so don't ask me about it
Hope you understand plain English
sandy
I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt
Yes i also saw the correct output but when i save the files and opem it again then i am getting incorrect output
2.csv should be blank or contain last proper result, if not run macro again without any changes
but why this is happening I don't know
ask author of this code
sandy
I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt
sure sandy Sir
The only problem is with saving of the file
Macro is doing perfect job, but when it comes to saving then there is an issue
Problem start with this line Doc Sir
[/CODE]w1.Close
w2.Save
Let Application.DisplayAlerts = False
w2.Close
Let Application.DisplayAlerts = True
w3.Close
'
End Sub[/CODE]
ignore w1 & w3 they are not csv file, w2 is the csv file
W2 saving line has some issue Doc Sir Plz have a look on that
Bookmarks