Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default graph\spreadsheet on form

hello there, i is in need of alittle wisdom from someone who knows. i'v
got a couple of graphs on spreadsheets that i would like to be shown o
userforms. also the same with a section of data on a spreadsheet. an
ideas would be a start. t

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default graph\spreadsheet on form

go to Stephen Bullen's site

http://www.bmsltd.ie/Excel/Default.htm

go down to the VBA section and get pastepicture.zip which addresses this
very requirement

http://www.bmsltd.ie/DLCount/DLCount...stePicture.zip

PastePicture.zip (9 April 1999, 34k, 13692 downloads) Updated - Saves a
chart or range as a bitmap or metafile
The userforms in Excel 97 are great, apart from one BIG letdown - you can't
put charts on them! A kludgy workaround has been to export the chart as a
gif or jpg, then load it into an Image control using LoadPicture. That
works ok-ish for charts, but it can't handle word art, shapes or other
pictures created on the fly. This file includes code to create a Picture
object from whatever is on the clipboard. Display a chart on a userform is
now as easy as a copy/paste. Thanks to VB MVPs Karl Peterson, Randy Birch
and Brad Martinez for their help. You can paste the image as either a
bitmap (better for same-size copies) or a metafile (better when
zooming/stretching), whichever best suits your circumstances. This update
includes an example of saving the picture to disk as a bitmap or metafile.

--
Regards,
Tom Ogilvy



"Swift2003 " wrote in message
...
hello there, i is in need of alittle wisdom from someone who knows. i've
got a couple of graphs on spreadsheets that i would like to be shown on
userforms. also the same with a section of data on a spreadsheet. any
ideas would be a start. ta


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default graph\spreadsheet on form

To get you started, have a look at John Walkenbach's site.

http://j-walk.com/ss/excel/tips/tip66.htm

If you are going to be doing this a lot, or want multiple charts and higher
speed, rather than exporting the chart to a gif file and loading it to a
picture, have a look at Stephen Bullen's PastePicture routine to copy the
chart direct from the sheet to the form without the export.

Robin Hammond
www.enhanceddatasystems.com

"Swift2003 " wrote in message
...
hello there, i is in need of alittle wisdom from someone who knows. i've
got a couple of graphs on spreadsheets that i would like to be shown on
userforms. also the same with a section of data on a spreadsheet. any
ideas would be a start. ta


---
Message posted from http://www.ExcelForum.com/



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
excel form. Need data extracted to spreadsheet each time a form co MikeR-Oz Excel Discussion (Misc queries) 4 April 5th 09 05:18 AM
Automated task to present data in a graph form. luckyguy Charts and Charting in Excel 1 November 3rd 05 12:20 PM
Add capability to graph in the form of y=x. Zedicuss Charts and Charting in Excel 1 October 18th 05 03:29 AM
Add capability to graph in the form of y=x. Zedicuss Charts and Charting in Excel 0 October 17th 05 11:50 PM
How can I see general form of an equation's graph in Excel? Mahrokh Charts and Charting in Excel 1 May 9th 05 12:17 PM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"