Viva_Excel
Board Regular
- Joined
- Nov 13, 2008
- Messages
- 89
Hi,
We have one master workbook that we need to pull in data from many other workbooks using vba macro coding. The data from each of the other workbooks is all in the same range and format. HOWEVER, the problem when copying the date from the many workbooks into the master workbook is that it copies exactly what is shown from the source workbooks and not the true value we need. For example, the source work book has the date of 1/1/2014 but the format in these workbooks has the date shown as "Jan-14" (MMM-YY). When the macro goes out and pulls this data, instead of it pasting in the true value of the date "1/1/2014", it is pulling exactly what is shown from the source workbook which is "Jan-14", but the master workbook is interpreting this as "14-Jan" or 1/14/16 (DD/MM/YY).
Also, we are having a similiar problem with the numbers with decimals. The source workbook is pulling in the shown formatted value, not the true value. For example, the true value in the cell is 7.4634, but we have it formatted to be "7.5" (one decimal place). We want it to pull the full value into the master workbook but when it pastes it into the master workbook, it is only pasting the shown value of "7.5" and not 7.4634.
please let us know if you can help. Thanks so much!
We have one master workbook that we need to pull in data from many other workbooks using vba macro coding. The data from each of the other workbooks is all in the same range and format. HOWEVER, the problem when copying the date from the many workbooks into the master workbook is that it copies exactly what is shown from the source workbooks and not the true value we need. For example, the source work book has the date of 1/1/2014 but the format in these workbooks has the date shown as "Jan-14" (MMM-YY). When the macro goes out and pulls this data, instead of it pasting in the true value of the date "1/1/2014", it is pulling exactly what is shown from the source workbook which is "Jan-14", but the master workbook is interpreting this as "14-Jan" or 1/14/16 (DD/MM/YY).
Also, we are having a similiar problem with the numbers with decimals. The source workbook is pulling in the shown formatted value, not the true value. For example, the true value in the cell is 7.4634, but we have it formatted to be "7.5" (one decimal place). We want it to pull the full value into the master workbook but when it pastes it into the master workbook, it is only pasting the shown value of "7.5" and not 7.4634.
please let us know if you can help. Thanks so much!