Vishaal
Well-known Member
- Joined
- Mar 16, 2019
- Messages
- 543
- Office Version
- 2010
- 2007
- Platform
- Windows
- Web
Thanks in advance,
i have the following VBA code,
Its o.k. no change required
Second started, its in part
I want to run this code from “IY10” to “SO10”, but if I will run this code at once, Excel will be start the error “Not responding” due to heavy work of code, so please provide the process how can we use the code without making excel “not responding”
pls help
i have the following VBA code,
Its o.k. no change required
Code:
Range("IX10").Select
ActiveCell.FormulaR1C1 = _
"=IF(AND(RC[-253]=""Na"",R[1]C[-253]=""Yes""),COUNTIF(R2C[-253]:RC[-253],""Na"")-SUM(R1C:R[-1]C),"""")"
Range("IX10").Select
Selection.Copy
Range("IX11:IX1798").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Second started, its in part
I want to run this code from “IY10” to “SO10”, but if I will run this code at once, Excel will be start the error “Not responding” due to heavy work of code, so please provide the process how can we use the code without making excel “not responding”
Code:
Range("IX10:IX1798").Select
Selection.Copy
Range("IY10:JW10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("IY10:JW1798").Select
Selection.Copy
Range("IY10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("JX10:KV10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("JX10:KV1798").Select
Selection.Copy
Range("JX10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("KW10:LU10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("KW10:LU1798").Select
Selection.Copy
Range("KW10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("LV10:MT10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("LV10:MT1798").Select
Selection.Copy
Range("LV10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("MU10:NS10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("MU10:NS1798").Select
Selection.Copy
Range("MU10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("NT10:OR10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("NT10:OR1798").Select
Selection.Copy
Range("NT10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("OS10:PQ10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("OS10:PQ1798").Select
Selection.Copy
Range("OS10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("PR10:QP10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("PR10:QP1798").Select
Selection.Copy
Range("PR10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("QQ10:RO10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("QQ10:RO1798").Select
Selection.Copy
Range("QQ10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
Range("IX10:IX1798").Select
Selection.Copy
Range("RP10:SO10").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range("RP10:SO1798").Select
Selection.Copy
Range("RP10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("IX8").Select
pls help
Last edited by a moderator: