ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy column B and column E from all sheets into new worksheet (https://www.excelbanter.com/excel-programming/351074-copy-column-b-column-e-all-sheets-into-new-worksheet.html)

al007

Copy column B and column E from all sheets into new worksheet
 
How can I copy column B and column E from all sheets to a new sheet
while offsetting the paste ie the 2 column being pasted next to the
other

thxs


scooper

Copy column B and column E from all sheets into new worksheet
 
1. Use a do..while loop to cycle through all the sheet names using the
Sheets object.

2. Increment the paste column number by one every loop.
3. Use paste values.

scooper

"al007" wrote in message
oups.com...
How can I copy column B and column E from all sheets to a new sheet
while offsetting the paste ie the 2 column being pasted next to the
other

thxs




al007

Copy column B and column E from all sheets into new worksheet
 
scooper
can i have the code as am new to excel vba


scooper wrote:
1. Use a do..while loop to cycle through all the sheet names using the
Sheets object.

2. Increment the paste column number by one every loop.
3. Use paste values.

scooper

"al007" wrote in message
oups.com...
How can I copy column B and column E from all sheets to a new sheet
while offsetting the paste ie the 2 column being pasted next to the
other

thxs




All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com