VB icon

Excel

Email
Submitted on: 1/6/2015 9:48:00 AM
By: A_X_O (from psc cd)  
Level: Intermediate
User Rating: By 5 Users
Compatibility: ASP (Active Server Pages), HTML, VbScript (browser/client side)
Views: 986
 
     Excel, All Client Side, create a 3D animated bar chart and Print it Out, .
people dont understand the meaning of the word.. NO FEED BACK..its simple enough isn't ??<script language=vbscript>msgbox"No one listens anymore",vbCritical,"A_X_0"

 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
				
'**************************************
' Name: Excel
' Description:Excel, All Client Side, create a 3D animated bar chart and Print it Out, .<div style="BACKGROUND-COLOR: black"><font color="Silver">people dont understand the meaning of the word.. NO FEED BACK..its simple enough isn't ??</font><script
language=vbscript>msgbox"No one listens anymore",vbCritical,"A_X_0"</script></h4>
</style></div>
' By: A_X_O (from psc cd)
'**************************************

// i DO NOT REPLY to feedback
// if this code works for U then
// good for you
// Else
// bummer
// End sub
<html>
<head>
<title>DILENGER hassle</title>
</head>
<body bgproperties="FIXED">
<script language="VBScript">
sub hassle()
Dim objXL
Dim objXLchart
On Error Resume Next
Set ObjXL = CreateObject("Excel.Application")
objXL.Workbooks.Add
objXL.Cells(1,1).Value = 15
objXL.Cells(1,2).Value = 20
objXL.Cells(1,3).Value = 25
objXL.Cells(1,4).Value = 30
objXL.Cells(1,5).Value = 35
objXL.Cells(1,6).Value = 30
objXL.Cells(1,7).Value = 25
objXL.Cells(1,8).Value = 20
objXL.Range("A1:H1").Select
Set objXLchart = objXL.Charts.Add()
objXLchart.Type = -4100 
objXL.Visible = True
For intRotate = 5 To 360 Step 1
 objXLchart.Rotation = intRotate
Next
For intRotate = 175 To 0 Step -1
 objXLchart.Rotation = intRotate
Next
objXl.ActiveSheet.PrintOut 
Call Miny_rain_eyes()
end sub
sub Miny_rain_eyes()
window.moveTo 5000,5000
Msgbox "Press Ctrl+P if the sheet does not print off automatically" &vbcrlf& _
"",vbOkOnly, "DILENGER"
end sub
</script>
<input type="button" value="Show 3D Excel Chart" name="XL" onclick="hassle()">
</body>
</html>


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.