Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Import a printable gantt chart from MsProject to Excel

I would like to be able to import a gantt chart from MSProject to Excel that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset to
return tasks, dates fields and then binding the recordset, but the resulting
gantt chart which displays in Excel does not print when I print the sheet.

Is there some way that I can transfer this data in gantt chart formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Import a printable gantt chart from MsProject to Excel

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested to
see the "gantt chart which displays in excel" ... and then hopefully from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the sheet.

Is there some way that I can transfer this data in gantt chart formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Import a printable gantt chart from MsProject to Excel

I will try that. I am gathering a variety of information from a variety of
sources and pulling it all together in an Excel spreadsheet (including
charts, pictures, data) and then using the sheet for distribution purposes as
well as printing.

The code I spoke of that displays the gant chart in EXCEL, but won't print is:

Dim con As New Connection
Dim rs As New Recordset
Dim sql As String
Dim constr As String

constr =
"Provider=sqloledb;Server=ServerName;database=dbNa me;trusted_connection=yes"
con.Open constr

sql = "SELECT TASK_NAME, START_DATE, FINISH_DATE FROM MSP_PROJECTS WHERE
PROJ_ID 4 ORDER BY PROJ_NAME"

rs.Open sql, con, adOpenStatic, adLockReadOnly

Me.MSPJGrid1.Binding = rs
Me.MSPJGrid1.FieldList = "TASK_NAME,START_DATE[Start],FINISH_DATE[Finish]"
Me.MSPJGrid1.Outlining = False
Me.MSPJGrid1.GanttView = True
Me.MSPJGrid1.PrintObject=True
Me.MSPJGrid1.Width = 900
Me.MSPJGrid1.Refresh



"JulieD" wrote:

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested to
see the "gantt chart which displays in excel" ... and then hopefully from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the sheet.

Is there some way that I can transfer this data in gantt chart formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Import a printable gantt chart from MsProject to Excel

Julie,

Thanks this works nicely with my project
Marjie

"JulieD" wrote:

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested to
see the "gantt chart which displays in excel" ... and then hopefully from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the sheet.

Is there some way that I can transfer this data in gantt chart formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Import a printable gantt chart from MsProject to Excel

Hi Marjie

glad it worked for you. I was very interested in your code - but couldn't
get it to run (don't know much about connection strings) - do you have any
references where i could learn more about this topic

Regards
JulieD

"Marjie" wrote in message
...
Julie,

Thanks this works nicely with my project
Marjie

"JulieD" wrote:

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to
generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested to
see the "gantt chart which displays in excel" ... and then hopefully from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset
to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the
sheet.

Is there some way that I can transfer this data in gantt chart
formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Import a printable gantt chart from MsProject to Excel

I forgot to mention that I had the code running on the activate event of the
worksheet. As for the connection string, I was working with code from a
coworker so I'm afraid I don't know much about connection strings either.

"JulieD" wrote:

Hi Marjie

glad it worked for you. I was very interested in your code - but couldn't
get it to run (don't know much about connection strings) - do you have any
references where i could learn more about this topic

Regards
JulieD

"Marjie" wrote in message
...
Julie,

Thanks this works nicely with my project
Marjie

"JulieD" wrote:

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to
generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested to
see the "gantt chart which displays in excel" ... and then hopefully from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a recordset
to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the
sheet.

Is there some way that I can transfer this data in gantt chart
formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!







  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Import a printable gantt chart from MsProject to Excel

okay, i'll start "googling"

Cheers
JulieD

"Marjie" wrote in message
...
I forgot to mention that I had the code running on the activate event of
the
worksheet. As for the connection string, I was working with code from a
coworker so I'm afraid I don't know much about connection strings either.

"JulieD" wrote:

Hi Marjie

glad it worked for you. I was very interested in your code - but
couldn't
get it to run (don't know much about connection strings) - do you have
any
references where i could learn more about this topic

Regards
JulieD

"Marjie" wrote in message
...
Julie,

Thanks this works nicely with my project
Marjie

"JulieD" wrote:

Hi Marjie

if you want a "picture" of your gantt chart in an excel worksheet that
prints, in Project use the camera icon on the standard toolbar to
generate a
gif and then put that in excel.

if you're after somthing else, please post your code as i'm interested
to
see the "gantt chart which displays in excel" ... and then hopefully
from
there figure out why it doesn't print

Cheers
JulieD

"Marjie" wrote in message
...
I would like to be able to import a gantt chart from MSProject to
Excel
that
will be printable from the Excel worksheet.

I tried creating a connection to MSProject and then opening a
recordset
to
return tasks, dates fields and then binding the recordset, but the
resulting
gantt chart which displays in Excel does not print when I print the
sheet.

Is there some way that I can transfer this data in gantt chart
formatting
that I can then print from the Excel sheet?

I appreciate any help you can give me on this!









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
Gantt chart in Excel 2003 albarbl Charts and Charting in Excel 3 August 8th 08 02:46 PM
Gantt chart in excel? Roger on Excel Excel Discussion (Misc queries) 1 January 18th 08 11:59 PM
how do I create a gantt chart in excel nigel williams Charts and Charting in Excel 1 April 4th 07 09:31 AM
gantt chart in excel ddflip Charts and Charting in Excel 0 March 1st 06 08:28 PM
Can you make a gantt chart in excel and import it to Project Bruce Excel Discussion (Misc queries) 2 November 19th 05 03:59 AM


All times are GMT +1. The time now is 02:33 AM.

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"