Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Excel 2007 Print Preview button disabled

I have code to input data into a sheet, then Print Preview the shet for the USER to either view as
is, or Print.
Problem is Excel 2007 Print Preview button to PRINT the sheet is DISABLED.

How can i enable the Print Button?


Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel 2007 Print Preview button disabled

It's not disabled for me.

Is it disabled for all workbooks for you?

Corey wrote:

I have code to input data into a sheet, then Print Preview the shet for the USER to either view as
is, or Print.
Problem is Excel 2007 Print Preview button to PRINT the sheet is DISABLED.

How can i enable the Print Button?

Corey....


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Excel 2007 Print Preview button disabled

Dave, It seems to be disabled for ONLY the Excel Application working on.
If a blank sheet is created and 1 value placed in the sheet, Print Preview used, then the option to
Print is enabled.
But not when run from the code.

The line of VBA i use is :
ActiveWindow.SelectedSheets.PrintPreview

Any idea's?


"Dave Peterson" wrote in message
...
It's not disabled for me.

Is it disabled for all workbooks for you?

Corey wrote:

I have code to input data into a sheet, then Print Preview the shet for the USER to either view as
is, or Print.
Problem is Excel 2007 Print Preview button to PRINT the sheet is DISABLED.

How can i enable the Print Button?

Corey....


--

Dave Peterson


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel 2007 Print Preview button disabled

I ran the same line from code and the print button was enabled.

Did you try that same line of code on a new worksheet in a new workbook?

I don't really have a guess. I know that the ribbom can be customized, but I'm
not sure how (or if) the print preview ribbon can be changed.

Corey wrote:

Dave, It seems to be disabled for ONLY the Excel Application working on.
If a blank sheet is created and 1 value placed in the sheet, Print Preview used, then the option to
Print is enabled.
But not when run from the code.

The line of VBA i use is :
ActiveWindow.SelectedSheets.PrintPreview

Any idea's?

"Dave Peterson" wrote in message
...
It's not disabled for me.

Is it disabled for all workbooks for you?

Corey wrote:

I have code to input data into a sheet, then Print Preview the shet for the USER to either view as
is, or Print.
Problem is Excel 2007 Print Preview button to PRINT the sheet is DISABLED.

How can i enable the Print Button?

Corey....


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Excel 2007 Print Preview button disabled

I don't understand why the Print button is disabled either but does this
code do the same thing?

ActiveSheet.PrintOut Preview:=True

--
Jim
"Corey" wrote in message
...
| Dave, It seems to be disabled for ONLY the Excel Application working on.
| If a blank sheet is created and 1 value placed in the sheet, Print Preview
used, then the option to
| Print is enabled.
| But not when run from the code.
|
| The line of VBA i use is :
| ActiveWindow.SelectedSheets.PrintPreview
|
| Any idea's?
|
|
| "Dave Peterson" wrote in message
| ...
| It's not disabled for me.
|
| Is it disabled for all workbooks for you?
|
| Corey wrote:
|
| I have code to input data into a sheet, then Print Preview the shet for
the USER to either view as
| is, or Print.
| Problem is Excel 2007 Print Preview button to PRINT the sheet is
DISABLED.
|
| How can i enable the Print Button?
|
| Corey....
|
| --
|
| Dave Peterson
|
|




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
### in print preview while using autofit in Excel 2007. TomD Excel Discussion (Misc queries) 0 June 23rd 08 11:34 PM
Distorted Print Preview in Excel 2007 John Charts and Charting in Excel 0 January 27th 08 04:58 PM
Excel 2007 - Problems using print preview and PDF/XPS conversion without having a printer defined [email protected] Excel Discussion (Misc queries) 3 February 1st 07 01:20 PM
Excel 2007 print preview Gilles Desjardins Excel Discussion (Misc queries) 2 May 28th 06 04:38 PM
In excel: when in print preview, 1 button to 'maximise margins' Sa Gested Excel Worksheet Functions 0 August 3rd 05 01:46 PM


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