Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all ,
I have 3 excel files , I stored into QVD (allqvd) . Now if same name file with diff. timestamps file copied then existing data from allqvd should be deleted and new data from new excel file should appended in allqvd file.
Please share logic.
Thanks in adv.
Vikas
Hi Pradeep,
My files could have 1 or 2 please suggest me changes in script .
File Name: AssetTrackingAug2; SheetName: AugInv2
File Name: AssetTrackingSep2; SheetName: SepInv2
Thanks
Vikas
u need to change the 'vSheetName' logic.. in 2 places..
only these 2 formats, or trying to make generic..?
yes i want dynamic
Hi Pradeep,
In second condition when qvd exists and check for modification time (Timestamp) of existing file vs Excel file I am
getting problem.
I have 2 (Aug &Dec) files then i run your script first loop is ok qvd is created. But when i done some changes
in month of dec excel file and saved. when i run script again it loading 2 files it should run only dec file becuase i got modification in dec file only.
I will check and get back to you..
Hi Vikas,
I have misplaced the time checking logic. Now I modified the same and working as expected. See the attachment.
While reading the data from files, I changed the logic to generic. File Names/Sheet Names should be in bellow format only
File Name: AssetTrackingAug2; SheetName: AugInv2
File Name: AssetTrackingAug01; SheetName: AugInv01
File Name: AssetTrackingSep1; SheetName: SepInv1
File Name: AssetTrackingOct02; SheetName: OctInv02
Thanks,
Pradeep