Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default sample macro for printing by selection

Dear all,

I need to produce a report from an Excel file with below requirement
(just an example) :

in sheet 1, 2 & 3, if column B = "1" & column C = "Y", then print that
row and the header row for each page as well.

If you have a sample of this kind of macro, please provide.
Since I don't have any experience in writing Excel macro, any good
reference site?

Thanks
PL.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default sample macro for printing by selection

Hi, record a macro to perform the desired operation. That should give you a
code snippet, upon which you can improvise. I hope this helps you.

"PatLee" wrote:

Dear all,

I need to produce a report from an Excel file with below requirement
(just an example) :

in sheet 1, 2 & 3, if column B = "1" & column C = "Y", then print that
row and the header row for each page as well.

If you have a sample of this kind of macro, please provide.
Since I don't have any experience in writing Excel macro, any good
reference site?

Thanks
PL.


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
Can I random sample from a set until every sample is selected? random sampling Excel Discussion (Misc queries) 6 April 26th 10 09:54 PM
Need a sample or VBA code to open a C# windows forms in Excel using Macro dotnetguys Excel Programming 0 February 3rd 06 02:05 PM
Sample selection in Excel Gary's Student Excel Worksheet Functions 6 August 31st 05 05:30 PM
Sample spreadsheet of using macro Isaac Excel Worksheet Functions 2 November 19th 04 02:22 AM
Where can similar macro template / sample be found? active_x[_17_] Excel Programming 1 October 3rd 03 10:08 AM


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

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"