17.07.2024, 11:03
Good day everyone,
I am trying to use VBA to take specific cell values from 2 sheets to a single sheet EXPORT. And also add texts in cells of EXPORT sheet, where required (reference sheet available in attached file namely "Scheduler1"). A better picture is provided in the attached file, where I tried to integrate information via text boxes, hopefully in a clear way. Your guidance and help is appreciated.
DESCRIPTION:
Let me first say, Scheduler1 sheet is what the final EXPORT sheet will look like and it is just provided as a 'reference sheet' i.e., you don't need data from Scheduler1 sheet.
Regarding the MSx-OUT sheet, it is a combination of two sheets (INT-OUT, BOOL-OUT), and they will be in the main file as hidden sheets. The main reason for making this extra sheet was to put all the required data from these 2 sheets to a single sheet. If required for the macro, I can share these 2 sheets too. The cell column on MSx-OUT sheet is just the reference of the starting cell (not needed for macro in my opinion), e.g, A27, from which, the entire row (from either BOOL-OUT or INT-OUT sheets) is copied and pasted in the MSx-OUT sheet. You can see in the sheet, the columns are E,F,...,W. So, basically entire row is copied and not just cell A27. However, only the blue highlighted cells are important.
So, the column C in MSx-OUT sheet namely 'sheet' (having entries BOOL-OUT/INT-OUT) can be directly imported in EXPORT sheet under column E namely 'BOOL/INT-OUT' for relevant entries via the macro. Therefore, you only can quote MSx-OUT sheet in macro.
I hope this makes it clear.
Thank you!
Regards,
FNa
I am trying to use VBA to take specific cell values from 2 sheets to a single sheet EXPORT. And also add texts in cells of EXPORT sheet, where required (reference sheet available in attached file namely "Scheduler1"). A better picture is provided in the attached file, where I tried to integrate information via text boxes, hopefully in a clear way. Your guidance and help is appreciated.
DESCRIPTION:
Let me first say, Scheduler1 sheet is what the final EXPORT sheet will look like and it is just provided as a 'reference sheet' i.e., you don't need data from Scheduler1 sheet.
Regarding the MSx-OUT sheet, it is a combination of two sheets (INT-OUT, BOOL-OUT), and they will be in the main file as hidden sheets. The main reason for making this extra sheet was to put all the required data from these 2 sheets to a single sheet. If required for the macro, I can share these 2 sheets too. The cell column on MSx-OUT sheet is just the reference of the starting cell (not needed for macro in my opinion), e.g, A27, from which, the entire row (from either BOOL-OUT or INT-OUT sheets) is copied and pasted in the MSx-OUT sheet. You can see in the sheet, the columns are E,F,...,W. So, basically entire row is copied and not just cell A27. However, only the blue highlighted cells are important.
So, the column C in MSx-OUT sheet namely 'sheet' (having entries BOOL-OUT/INT-OUT) can be directly imported in EXPORT sheet under column E namely 'BOOL/INT-OUT' for relevant entries via the macro. Therefore, you only can quote MSx-OUT sheet in macro.
I hope this makes it clear.
Thank you!
Regards,
FNa