Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default copy formulas from a contiguous range to a safe place and copy them back later

Hi,

What I want to do is copy the formulas from a contiguous range on sheet1 to
a safe place (say sheet2) so they can easily be restored later, if someone
mucks them up.

Any assistance at all will be very much appreciated,
Thank you,
LB


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default copy formulas from a contiguous range to a safe place and copy the

Lucus,

Copies Sheet1 A1:a10 to Sheet2 A1:a10
Sub Copy()
With Worksheets("Sheet1")
..Range("A1:a10").Copy Worksheets("Sheet2").Range("a1")
End With
End Sub

"Lucas Budlong" wrote:

Hi,

What I want to do is copy the formulas from a contiguous range on sheet1 to
a safe place (say sheet2) so they can easily be restored later, if someone
mucks them up.

Any assistance at all will be very much appreciated,
Thank you,
LB



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default copy formulas from a contiguous range to a safe place and copy them back later

Sub save()
Sheets("sheet1").Range("A5:C8").Copy Sheets("sheet2").Range("A1")
End Sub

Modify sheet name sand ranges according to your needs

HTH

--
AP

"Lucas Budlong" a écrit dans le message de
...
Hi,

What I want to do is copy the formulas from a contiguous range on sheet1

to
a safe place (say sheet2) so they can easily be restored later, if someone
mucks them up.

Any assistance at all will be very much appreciated,
Thank you,
LB




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
How do I copy formulas but using the same range each time I copy Laffin Excel Worksheet Functions 2 June 22nd 06 04:17 PM
Excel copy formulas using non contiguous range Paul Moles Excel Discussion (Misc queries) 4 March 11th 06 11:07 PM
Advancedfilter copy in place doesn't use criteria range correctly Josh[_13_] Excel Programming 1 December 9th 05 02:30 PM
Copy a range from different worksheets and place in another worsheet unplugs[_43_] Excel Programming 0 July 5th 04 03:51 AM
Range COPY function - how to copy VALUES and not formulas James Cooke Excel Programming 1 August 21st 03 07:04 PM


All times are GMT +1. The time now is 10:28 PM.

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

About Us

"It's about Microsoft Excel"