#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Shorter way

Is there a shorter way than what I am using?


If Range("D116") = 0 Then 'Corrects some formulas in old quotes that are
'not compatable with Master5
Range("K121").Select
Selection.Copy
Range("D116").Select
Selection.PasteSpecial Paste:=xlFormulas
End If

If Range("D117") = 0 Then
Range("K122").Select
Selection.Copy
Range("D117").Select
Selection.PasteSpecial Paste:=xlFormulas
End If

If Range("D118") = 0 Then
Range("K123").Select
Selection.Copy
Range("D118").Select
Selection.PasteSpecial Paste:=xlFormulas
End If

If Range("C130") = 0 Then
Range("M123").Select
Selection.Copy
Range("C130").Select
Selection.PasteSpecial Paste:=xlFormulas
End If

If Range("C131") = 0 Then
Range("M124").Select
Selection.Copy
Range("C131").Select
Selection.PasteSpecial Paste:=xlFormulas
End If
If Range("C132") = 0 Then
Range("M125").Select
Selection.Copy
Range("C132").Select
Selection.PasteSpecial Paste:=xlFormulas
End If
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
Macro name shorter Sunnyskies Excel Discussion (Misc queries) 0 February 8th 07 10:35 AM
Is there a shorter/quicker way to do this? SouthAfricanStan Excel Worksheet Functions 1 June 27th 06 04:34 PM
iso shorter equation nastech Excel Discussion (Misc queries) 0 March 14th 06 10:52 PM
shorter macro jdengel New Users to Excel 1 September 8th 05 06:03 PM
I wonder if you can make this shorter T Excel Worksheet Functions 0 December 23rd 04 08:47 PM


All times are GMT +1. The time now is 04:02 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"