Re: $$Excel-Macros$$ printing doubt

2012-03-28 Thread Shankar Bheema
thank you noorain bhai

On Wed, Mar 28, 2012 at 11:20 AM, NOORAIN ANSARI
noorain.ans...@gmail.comwrote:

 Dear Mothilal,

 You can use below code to printout all sheets of workbook

 Sub print_allsheetofworkbook()
 Dim sh As Worksheet
 For Each sh In ActiveWorkbook.Sheets
 sh.PrintOut From:=1, to:=1
 Next sh
 End Sub
 or

 Sub print_allsheetofworkbook()
 Dim i As Integer
 For i = 1 To Sheets.Count
 Sheets(i).PrintOut From:=1, to:=1
 Next i
 End Sub


 Thanks  regards,
 Noorain Ansari
  ** http://excelmacroworld.blogspot.com/*http://noorainansari.com/*
 *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/

 On Wed, Mar 28, 2012 at 9:28 AM, jmothilal gjmothi...@gmail.com wrote:

 Dear Sir,

 How can i print all sheets ?



 Thanks with



 Mothilal.J


 On Tue, Mar 27, 2012 at 12:54 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.com wrote:

 Dear Shankar,

 You can also use..

 Sub Print_setup()
 Application.Dialogs(xlDialogPrint).Show
 End Sub


  On Tue, Mar 27, 2012 at 12:23 PM, Shankar Bheema 
 shankar.n...@gmail.com wrote:

 Dear experts

 for a command button of an userform for Printing of sheets purpose I am
 using code as

 sheets(sheet1).printout

 whereas, i need to print  3rd page of sheet1 everytime, so what change
 is required in the above code to get only 3rd page.

 regards
 shankar sb

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --


 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --

 *J.Mothilal : **Universal Computer Systems : # 16, Brindavan Complex
 :Otteri, Vellore-2*


 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --
 Thanks  regards,
 Noorain Ansari
  ** http://excelmacroworld.blogspot.com/*http://noorainansari.com/*
 *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 

Re: $$Excel-Macros$$ printing doubt

2012-03-28 Thread jmothilal
Thanks to Noorain Ansari, , Abhishek Jain


Mothilal

On Wed, Mar 28, 2012 at 11:09 AM, Abhishek Jain abhishek@gmail.comwrote:

 Use below code for printing all sheets in a workbook -

 Option Explicit

 Sub PrintallSheets()
 Dim ws As Worksheet
 For Each ws In ActiveWorkbook.Worksheets
 ws.PrintOut
 Next ws
 End Sub


 On Wed, Mar 28, 2012 at 9:28 AM, jmothilal gjmothi...@gmail.com wrote:

 Dear Sir,

 How can i print all sheets ?



 Thanks with



 Mothilal.J


 On Tue, Mar 27, 2012 at 12:54 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.com wrote:

 Dear Shankar,

 You can also use..

 Sub Print_setup()
 Application.Dialogs(xlDialogPrint).Show
 End Sub


 On Tue, Mar 27, 2012 at 12:23 PM, Shankar Bheema shankar.n...@gmail.com
  wrote:

 Dear experts

 for a command button of an userform for Printing of sheets purpose I am
 using code as

 sheets(sheet1).printout

 whereas, i need to print  3rd page of sheet1 everytime, so what change
 is required in the above code to get only 3rd page.

 regards
 shankar sb

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --
 Thanks  regards,
 Noorain Ansari
  ** http://excelmacroworld.blogspot.com/*http://noorainansari.com/*
 *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --

 *J.Mothilal : **Universal Computer Systems : # 16, Brindavan Complex
 :Otteri, Vellore-2*


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




-- 

*J.Mothilal : **Universal Computer Systems : # 16, Brindavan Complex
:Otteri, Vellore-2*

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread 

$$Excel-Macros$$ printing doubt

2012-03-27 Thread Shankar Bheema
Dear experts

for a command button of an userform for Printing of sheets purpose I am
using code as

sheets(sheet1).printout

whereas, i need to print  3rd page of sheet1 everytime, so what change is
required in the above code to get only 3rd page.

regards
shankar sb

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ printing doubt

2012-03-27 Thread Abhishek Jain
Sheets(Sheet1).PrintOut From:=3, To:=3

On Tue, Mar 27, 2012 at 12:23 PM, Shankar Bheema shankar.n...@gmail.comwrote:

 Dear experts

 for a command button of an userform for Printing of sheets purpose I am
 using code as

 sheets(sheet1).printout

 whereas, i need to print  3rd page of sheet1 everytime, so what change is
 required in the above code to get only 3rd page.

 regards
 shankar sb

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ printing doubt

2012-03-27 Thread NOORAIN ANSARI
Dear Shankar,

You can also use..

Sub Print_setup()
Application.Dialogs(xlDialogPrint).Show
End Sub


On Tue, Mar 27, 2012 at 12:23 PM, Shankar Bheema shankar.n...@gmail.comwrote:

 Dear experts

 for a command button of an userform for Printing of sheets purpose I am
 using code as

 sheets(sheet1).printout

 whereas, i need to print  3rd page of sheet1 everytime, so what change is
 required in the above code to get only 3rd page.

 regards
 shankar sb

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




-- 
Thanks  regards,
Noorain Ansari
 *http://noorainansari.com/* http://excelmacroworld.blogspot.com/
*http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com