LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Need Help! VBA screen capture question

Mark -

How does the form fit on the screen, if it's three printed pages long?

I had to do a similar thing for a client, with a long form that was
complicated by having controls in a viewing area that scrolled up and
down, into and out of view. I had to scroll to the top of this area,
take a screen shot, then scroll the area down, and take screen shots
until the entire form had been captured. Then I had to cut the images
up, I pasted them into a worksheet like a puzzle, and printed out the sheet.

I had to use a bunch of APIs, and I think I eventually had to save the
image in a bmp file and then insert it into the worksheet. My code was
based partly on MS KB articles 161299 and 230502, this web page

http://www.lebans.com/imagecontroltoclipboard.htm

and a post by Mike Sutton, headed "Copy a Picture to the Clipboard
API/VBA", in the microsoft.public.vb.winapi.graphics newsgroup. Plus
lots of trial and error.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


V-Man wrote:

I want to print a rather long userform that I have created. However,
when I use the ".printform" command, Excel only prints one page of my
userform (it should be around 3 pages in length).

How do I print the entire length of my userform? I know a VBA screen
capture may work, but how do I code it so that I can print the entire
3-page userform?

Thanks for the help,

Mark


 
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 screen capture to capture cells and row and column headings jayray Excel Discussion (Misc queries) 5 November 2nd 07 11:01 PM
screen capture of page Juco Excel Worksheet Functions 2 March 13th 05 12:50 AM
How to capture screen through VBA? Bill Choy[_2_] Excel Programming 3 July 23rd 04 05:00 AM
VBA Help Screen question George Thompson Excel Programming 0 February 12th 04 07:37 PM
SendKeys, Windows Active screen Question..Pls Help!!! Rumil Excel Programming 1 January 21st 04 12:56 AM


All times are GMT +1. The time now is 08:52 AM.

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"