• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macro to Copy data from 2 workbooks and also find the Cell ref to a column given Value

DVI

New Member
HI ,

After a few of my VBA tries , i have hardly got a chance to deep dive inot this VBA coding and hence you cna consider me a new coder
So trying something again in VBA front for which i would need some help to get the required output.
I have 2 Excel Sheet - ONe being the Role File((Keeps getting changed in terms of ADD/del data ), 1 being the Component file (Keeps getting changed in terms of ADD/del data )and the 3rd one will be my macro file ,
I am attaching the 3 files , i have managed to get the multiselct getOpenfile name , post that i need to get the data as per that entered in the macro file on TEST Sheet ,
So Basically the Macro would first need to open 2 files , then form the Macro file it will need to copy copy the Role one by one , find the DAta matching in Components Workbook and paste it under role Name , Similarly find the Col Reference to cell value entered in the Col Number
ONce the macro is run my data will look like the one pasted on "Output Sheet would look like".

Apprciate some help in this reagrd . Totally clueless how to get the above as desired above .
Pls help..

Attaching all the files

Posted this on a 2 Diff forum and below is the link - wnated immidiate responses hence posting it here as well


 

Attachments

  • Components _Demo file.xlsx
    33.6 KB · Views: 2
  • Demo File _Macro.xlsm
    21.6 KB · Views: 1
  • Demo Role Sheet.xlsx
    30.1 KB · Views: 2
Hi, a cross posting, again ‼​
As you was already warned in a previous thread so no help until you have done the necessary on every forum …​
 
Thats the reason i have provided the links to the other forums , since i dodnt get any help from other forums. Thanks .. but i really thought someone might help .. Deleting my posts here . Thanks Marc L.
 
Last edited by a moderator:
Thanks for the links here but as I wrote do not forget to do the same on every other forum …​
When a thread did not receive any answer so no sense to create exactly the same thread on another forum​
as that often means it is misexplained and / or with missing necessary informations and / or with attachment not well reflecting the need​
- it seems you checked all the bad cases whatever the forum ! - as any Excel forum can't be a place for any guessing challenge …​
 
Back
Top