Re: $$Excel-Macros$$ Excel workbook Issues

2015-08-25 Thread Vijayendra Rao
Sorry for the delayed response. Thanks DP for your help.
I tried your solution and it is freezing my excel too.

2015-07-29 23:15 GMT+05:30 De Premor d...@premor.net:

 Hi Vijayendra,

 I've look at your workbook, there is to many shapes textbox on your
 sheets, on sheet a there is 27.456 shapes, and on sheet b 37.419 shapes.
 You can use this code to know how many shape on it.

 Dim i As Long
 For i = 1 To Sheets.Count
 MsgBox Sheet   Sheets(i).Name  vbCrLf  Sheets(i).Shapes.Count  
 shapes
 Next

 I've trying to delete all of them using macro, but it freeze my computer,
 here is the code if in case you wanna give it try
 Sub DeleteShapesOneByOne()
 Dim i As Integer, x As Long
 For i = 1 To Sheets.Count
 For x = 1 To Sheets(i).Shapes.Count
 Sheets(i).Shapes(x).Select
 Selection.Delete
 Next
 Next
 End Sub

 or

 Sub DeleteAllShapesAtOnce()
 Dim i As Integer,
 For i = 1 To Sheets.Count
 Sheets(i).Shapes.SelectAll
 Selection.Delete
 Next
 End Sub

 Both Of them, freeze my Excel

 Rgds,
 [dp]


 On 28/07/2015 13:56, Vijayendra Rao wrote:

 Dear Expert,

 My one of excel file always hang, i will not be able to copy, paste. I
 have deleted all the data, still facing the same issue. Request you to help
 me to find out the problem, as I am having many files similar issues.
 Attached is the same.


 Regards,
 Vijayendra

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
ಧನ್ಯವಾದಗಳು,
ವಿಜಯೇಂದ್ರ,
೯೪೪೯೧ ೬೭೬೩೧

Regards,
Vijayendra
94491 67631

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To 

Re: $$Excel-Macros$$ Excel workbook Issues

2015-07-29 Thread De Premor

Hi Vijayendra,

I've look at your workbook, there is to many shapes textbox on your 
sheets, on sheet a there is 27.456 shapes, and on sheet b 37.419 shapes.

You can use this code to know how many shape on it.

Dim i As Long
For i = 1 To Sheets.Count
MsgBox Sheet   Sheets(i).Name  vbCrLf  Sheets(i).Shapes.Count 
  shapes

Next

I've trying to delete all of them using macro, but it freeze my 
computer, here is the code if in case you wanna give it try

Sub DeleteShapesOneByOne()
Dim i As Integer, x As Long
For i = 1 To Sheets.Count
For x = 1 To Sheets(i).Shapes.Count
Sheets(i).Shapes(x).Select
Selection.Delete
Next
Next
End Sub

or

Sub DeleteAllShapesAtOnce()
Dim i As Integer,
For i = 1 To Sheets.Count
Sheets(i).Shapes.SelectAll
Selection.Delete
Next
End Sub

Both Of them, freeze my Excel

Rgds,
[dp]

On 28/07/2015 13:56, Vijayendra Rao wrote:

Dear Expert,

My one of excel file always hang, i will not be able to copy, paste. I 
have deleted all the data, still facing the same issue. Request you to 
help me to find out the problem, as I am having many files similar 
issues. Attached is the same.


Regards,
Vijayendra

--
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? 
It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel


FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like 
Please Help, Urgent, Need Help, Formula Problem, Code Problem, and 
Need Advice will not get quick attention or may not be answered.

2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security 
measure.

4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE : Don't ever post confidential data in a workbook. Forum owners 
and members are not responsible for any loss.

---
You received this message because you are subscribed to the Google 
Groups MS EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to excel-macros+unsubscr...@googlegroups.com 
mailto:excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com 
mailto:excel-macros@googlegroups.com.

Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


--
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS EXCEL AND VBA MACROS group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.