Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Modules daovba ado > Automation from...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1456 of 1609
Post > Topic >>

Automation from Access to Excel

by =?Utf-8?B?R2FpbEZpYWxobw==?= <GailFialho@[EMAIL PROTECTED] Apr 14, 2008 at 01:43 PM

I do a lot of programming within Access to ex****t data and programmatically

generate charts in Excel.
Usually I can just record what I want in Excel and transfer the code(with 
some syntax changes) right into my Access module.
Right now I’m struggling with inserting a text box with specific data
into 
the upper left corner of the chart that I have just created.

strData = “3 Month RunRate: 26198″ & Chr(10) & “3 Month Forecast
Average: 
26198″ & Chr(10) & 6 Month RunRate: 25844″ & Chr(10) & 6 Month
Forecast 
Average: 25844″

Here’s what WON”T work:
with xlchart.chart.Shapes.AddTextbox(msoTextOrientationHorizontal, _
25, 20, 160, 70).Select
With xlChart.Chart.Shapes(”Text Box 1″).Characters.Text = strData
With Selection.Characters(Start:=1, Length:=110).Font
..Name = “Arial”
..FontStyle = “Regular”
..Bold = True
..Size = 10
End With
End With
End With

Thank you in advance,
Gail
 




 2 Posts in Topic:
Automation from Access to Excel
=?Utf-8?B?R2FpbEZpYWxobw=  2008-04-14 13:43:00 
Re: Automation from Access to Excel
"Ken Snell \(MVP\)&q  2008-04-14 21:35:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 12:03:51 CST 2008.