Excel

chandra amgain

New Member
Joined
Jun 15, 2014
Messages
1
I have one Excel Question,
i have one excel file in location C:\Users\Chandra\Desktop\Main File.Xlsx and this is my main file. All information include in this file for eg: Main File.Xlsx, Sheet Name "Detail"
And i have one summery File C:\Users\Chandra\Desktop\Summery File.Xlsx. Summery Sheet
what i want when i update something "Main File, Detail Sheet" it need to be update automatic in "Summery File, Summery Sheet". but i need only A, B, C, F, N column value from "Main file, Detail Sheet" need be update in "Summery File, Summery Sheet A, B, C, D, E.
i dont know my question is clear or not

Please Help Me, I hope someone has this answer.
Thank in advance.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
two lines need to be fixed
first: LastRowDetailFile = wb2.Sheets("Detail").Cells(1048576, 1).End(xlup)


second: the line below doesn't work for a few reason. 1) you should probably have title in your summary sheet otherwise it will just write the values from the other sheet without a heading. 2) you don't have any values already in there so the code doesn't know where to start. you could either put a single line of summary detail in for the first item or revise the line below to handle a case where it's blank

LastValue = wb1.Sheets("Summary Sheet").Cells(1, 1).End(xlDown)
 
Upvote 0
Mr. brenner

i tried all way that you gave me, but it still doesn't work so i think i better give you my rough file. please try once.
http://www.filedropper.com/roughfile
Thank you

user-offline.png



user-offline.png
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top