Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy Range and Paste to Array of Sheets


I have a workbook with 55 sheets. I only want to update 50 sheets.
I want to copy the range A103:X141 from my SheetMaster to all those 5
sheets in the array. I also want to copy the form buttons from th
master to all 50 sheets in the array

--
bobwilso
-----------------------------------------------------------------------
bobwilson's Profile: http://www.excelforum.com/member.php...fo&userid=3304
View this thread: http://www.excelforum.com/showthread.php?threadid=52985

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy Range and Paste to Array of Sheets

Sub ABC()
For i = 6 To 55
With Worksheets("SheetMaster")
.Range("A103:X141").Copy _
Destination:=Worksheets(i).Range("A103")
.Buttons(1).Copy
Worksheets(i).Select
Range("B9").Select
ActiveSheet.Paste
End With
Next i

End Sub

--
Regards,
Tom Ogilvy



"bobwilson" wrote
in message ...

I have a workbook with 55 sheets. I only want to update 50 sheets.
I want to copy the range A103:X141 from my SheetMaster to all those 50
sheets in the array. I also want to copy the form buttons from the
master to all 50 sheets in the array.


--
bobwilson
------------------------------------------------------------------------
bobwilson's Profile:

http://www.excelforum.com/member.php...o&userid=33046
View this thread: http://www.excelforum.com/showthread...hreadid=529855



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy Range and Paste to Array of Sheets


The Code copies the Excel data great however the Buttons are not coping
correctly.
The Buttons(these are form buttons and not control tool box) are not
coping over correctly. Any ideas?


--
bobwilson
------------------------------------------------------------------------
bobwilson's Profile: http://www.excelforum.com/member.php...o&userid=33046
View this thread: http://www.excelforum.com/showthread...hreadid=529855

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy Range and Paste to Array of Sheets

I tested with a forms button. It copied fine for me.

--
Regards,
Tom Ogilvy




"bobwilson" wrote
in message ...

The Code copies the Excel data great however the Buttons are not coping
correctly.
The Buttons(these are form buttons and not control tool box) are not
coping over correctly. Any ideas?


--
bobwilson
------------------------------------------------------------------------
bobwilson's Profile:

http://www.excelforum.com/member.php...o&userid=33046
View this thread: http://www.excelforum.com/showthread...hreadid=529855



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy Range and Paste to Array of Sheets


I have 13 form objects (1 combo box and 12 buttons) on my sheet that I
need to copy. Do you know any reason why it won't work? The Combo Box
is coping to the correct location however all other buttons are not
coping.


--
bobwilson
------------------------------------------------------------------------
bobwilson's Profile: http://www.excelforum.com/member.php...o&userid=33046
View this thread: http://www.excelforum.com/showthread...hreadid=529855



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy an array of Sheets Aussiegirlone Excel Discussion (Misc queries) 4 July 12th 09 06:41 AM
Copy/Paste array formulae from the newsgroup MartinW Excel Discussion (Misc queries) 6 March 21st 08 06:55 AM
Cannot Copy/Paste Array Formula tb Excel Worksheet Functions 3 December 13th 07 02:26 AM
Why can't you use this VBA w. array & cell value instead of copy paste? Maria J-son Excel Programming 1 August 15th 05 07:33 AM
Need help to Copy and Paste array using macro wira Excel Programming 4 May 11th 05 08:39 AM


All times are GMT +1. The time now is 10:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"