Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Abi
 
Posts: n/a
Default Printing switches focus off proper sheet

Hi there. I have a workbook with several sheets. The first sheet is a form
for data entry. At the end of the entry is a button to print. When the
printing begins, the focus of the sheet is taken off that data entry sheet
and placed on the third sheet.

(The printing prints sheet 2, and then sheets 3,4,5 in a group for page
numbering purposes.)

How do I keep the focus on the first (data entry page)? I don't want my
users having access to the other sheets.
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Abi

Application.ScreenUpdating = False
Sheets(Array("Sheet1", "Sheet3")).PrintOut ' change to yours
Application.ScreenUpdating = True



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Abi" wrote in message ...
Hi there. I have a workbook with several sheets. The first sheet is a form
for data entry. At the end of the entry is a button to print. When the
printing begins, the focus of the sheet is taken off that data entry sheet
and placed on the third sheet.

(The printing prints sheet 2, and then sheets 3,4,5 in a group for page
numbering purposes.)

How do I keep the focus on the first (data entry page)? I don't want my
users having access to the other sheets.



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
Printing separate sheets on one paper sheet Attyla Excel Discussion (Misc queries) 2 December 19th 04 05:58 PM
linking multiple sheets to a summary sheet greg g Excel Discussion (Misc queries) 1 December 16th 04 07:43 AM
printing sheet names Shooter Excel Worksheet Functions 2 December 9th 04 03:19 PM
Function to automatically insert a new sheet as a result of data entry? Mark Mulik Excel Worksheet Functions 2 November 28th 04 02:21 AM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM


All times are GMT +1. The time now is 04:48 PM.

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"