#1   Report Post  
Posted to microsoft.public.excel.misc
Ram Ram is offline
external usenet poster
 
Posts: 138
Default Printing Macro

Hi,

I'm new to Macro, so most of the codes that you may provide may not be
comprehendable by me. In which case, i shall use the code as you provide.

What i need :

1) i have 3 pieces of information on a single worksheet, it's called "Sheet1"
range a15 : b25 .... i call it range 1
range a115 : b125 .... i call it range 2
range a215 : b225 .... i call it range 3

2) On the top of the page, i have put 3 command buttons, for each range,
namely,
"print range 1 to pdf", "print range 2 to pdf", "print range 3 to pdf".

3) The driver that i use to print to PDF is AMYUNI print driver.

4) If i click command button "Print range 1 to pdf", it should
i) print the range a15 : b25 using the Amyuni pdf print driver, row 15
(cells a & B are merged) contains text. use the text in row 15 as the
filename. the pdf document should be saved in a folder called "My work
folder" within My documents. Address is

C:\Documents and Settings\abcdef\My Documents\My Work Folder

Likewise the same procedure should be followed for the other 2 data ranges.

Please do let me know if you require any more information.

Appreciate your help.












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
error when running cut & paste macro Otto Moehrbach Excel Worksheet Functions 4 August 9th 06 01:49 PM
link to combobox legepe Excel Discussion (Misc queries) 4 July 26th 06 04:45 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Macro printing Stephen C Excel Discussion (Misc queries) 3 April 18th 06 05:27 PM
Need assistance with printing macro Greegan Excel Worksheet Functions 0 September 7th 05 05:29 PM


All times are GMT +1. The time now is 05:41 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"