PDA

View Full Version : [SOLVED:] Repeat a column Insert in the same position on two other sheets.



pcarmour
09-26-2013, 08:46 AM
Hi,

After inserting a column which may be anywhere on a worksheet I want to copy the new column with its heading and insert it in exactly the same position on two other worksheets. For example I will insert a column 'H' and give it the heading LONDON I then want to copy this column and insert it as column 'H' on two other worksheets (Called Placing_Record and Year_Summary), whichever column I originally insert I want to repeat but it will not always be 'H'
I am working with Windows Home Premium version 6.1.7601 SP 1 Build 7601and Excel version 14.0.6123.5001 (32 bit)

jmutsche
09-26-2013, 09:51 AM
nvm

jmutsche
09-26-2013, 10:13 AM
Selection.Copy
Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Select
Sheets("Sheet1").Activate
ActiveSheet.Paste
Sheets("Sheet2").Select
ActiveSheet.Paste
Sheets("Sheet3").Select
ActiveSheet.Paste
Application.CutCopyMode = False

that should work for 2 sheets

jmutsche
09-26-2013, 10:14 AM
just select the column you want and run it.

pcarmour
09-26-2013, 11:28 AM
Hi jmutsche,

Brilliant exactly what I want, thank you very much, VBAX really is the place to get answers from the experts!