Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I had to create for my boss a userform that brought in charts. I found on the internet somethat allowed me to save a chart as an image and then bring that image into a userform control. Great. Then I had to create a userform that took all this data and a lot of formulas and created a data table to explain the charts. Now I have to create a report which bring in the charts and the data table. I would like to take a picture of the userform rather than having to rebuild my report database and populate it with all the database from the transaction database. Does anyone know of a way to take a snapshot of a userform? Maybe be a dumb question and a longshot, but I thought I would ask. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Webtechie wrote:
Hello, I had to create for my boss a userform that brought in charts. I found on the internet somethat allowed me to save a chart as an image and then bring that image into a userform control. Great. Then I had to create a userform that took all this data and a lot of formulas and created a data table to explain the charts. Now I have to create a report which bring in the charts and the data table. I would like to take a picture of the userform rather than having to rebuild my report database and populate it with all the database from the transaction database. Does anyone know of a way to take a snapshot of a userform? Maybe be a dumb question and a longshot, but I thought I would ask. Thanks Click on the form, then press Alt+PrintScr. This will place an image of the form on the clipboard. Paste in document. This works with any window or dialog BTW. Pressing PrintScr (without Alt) captures the entire screen. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom Ogilvy posted this to a different question--how to landscape print the
userform. Maybe you can use it to do what you want. http://groups.google.co.uk/group/mic...389691 309003 or http://snipurl.com/14p7q Webtechie wrote: Hello, I had to create for my boss a userform that brought in charts. I found on the internet somethat allowed me to save a chart as an image and then bring that image into a userform control. Great. Then I had to create a userform that took all this data and a lot of formulas and created a data table to explain the charts. Now I have to create a report which bring in the charts and the data table. I would like to take a picture of the userform rather than having to rebuild my report database and populate it with all the database from the transaction database. Does anyone know of a way to take a snapshot of a userform? Maybe be a dumb question and a longshot, but I thought I would ask. Thanks -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Smartin,
I was looking to do this through code. Thanks. Tony "smartin" wrote: Webtechie wrote: Hello, I had to create for my boss a userform that brought in charts. I found on the internet somethat allowed me to save a chart as an image and then bring that image into a userform control. Great. Then I had to create a userform that took all this data and a lot of formulas and created a data table to explain the charts. Now I have to create a report which bring in the charts and the data table. I would like to take a picture of the userform rather than having to rebuild my report database and populate it with all the database from the transaction database. Does anyone know of a way to take a snapshot of a userform? Maybe be a dumb question and a longshot, but I thought I would ask. Thanks Click on the form, then press Alt+PrintScr. This will place an image of the form on the clipboard. Paste in document. This works with any window or dialog BTW. Pressing PrintScr (without Alt) captures the entire screen. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My bad. I found this API call that does the trick of getting an image to
the clipboard. (from http://word.mvps.org/FAQS/MacrosVBA/PrtSc.htm) Option Explicit Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _ bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Const VK_SNAPSHOT = &H2C Sub PrintScreen() keybd_event VK_SNAPSHOT, 1, 0, 0 End Sub Webtechie wrote: Hi Smartin, I was looking to do this through code. Thanks. Tony "smartin" wrote: Webtechie wrote: Hello, I had to create for my boss a userform that brought in charts. I found on the internet somethat allowed me to save a chart as an image and then bring that image into a userform control. Great. Then I had to create a userform that took all this data and a lot of formulas and created a data table to explain the charts. Now I have to create a report which bring in the charts and the data table. I would like to take a picture of the userform rather than having to rebuild my report database and populate it with all the database from the transaction database. Does anyone know of a way to take a snapshot of a userform? Maybe be a dumb question and a longshot, but I thought I would ask. Thanks Click on the form, then press Alt+PrintScr. This will place an image of the form on the clipboard. Paste in document. This works with any window or dialog BTW. Pressing PrintScr (without Alt) captures the entire screen. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Picture in spreadsheet to picture in userform? | Excel Programming | |||
Chart Picture Size in UserForm/Picture Control. | Excel Programming | |||
how do I stop "copy" taking a picture instead of copying text | Excel Discussion (Misc queries) | |||
Show userform without it taking focus? | Excel Programming | |||
Taking Data of cell from worksheet to a userform window | Excel Programming |