LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 469
Default not getting it in right place

Have following cannot seem to get flickering out of column(F) know a lot
going on there maybe some of it could come out? built this useing macro
recorder. screen updating or enable events just not doing it for me. Is it
lanscape change that is causeing it. If so how can it be modifyed. Or should
lanscape be in a seperate module and called?
hoping
Thanks

Sheets("Announcer").Select
Application.EnableEvents = False
Columns("F").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.MergeCells = False
End With
'Range("G2").Select
Sheets("Announcer").Select
Application.EnableEvents = True
Application.ScreenUpdating = False
With ActiveSheet.pagesetup
.LeftHeader = ""
.CenterHeader = ""
.RightHeader = ""
.LeftFooter = ""
.CenterFooter = ""
.RightFooter = ""
.LeftMargin = Application.InchesToPoints(0.75)
.RightMargin = Application.InchesToPoints(0.75)
.TopMargin = Application.InchesToPoints(1)
.BottomMargin = Application.InchesToPoints(1)
.HeaderMargin = Application.InchesToPoints(0.5)
.FooterMargin = Application.InchesToPoints(0.5)
.PrintHeadings = False
.PrintGridlines = False
.PrintComments = xlPrintNoComments
.PrintQuality = -3
.CenterHorizontally = False
.CenterVertically = False
.Orientation = xlLandscape
.Draft = False
.PaperSize = xlPaperLetter
.FirstPageNumber = xlAutomatic
.Order = xlDownThenOver
.BlackAndWhite = False
.Zoom = 100
Application.ScreenUpdating = True
.PrintArea = "A2:F" & Cells(Rows.Count, "B").End(xlUp).Row
End With
Application.EnableEvents = True
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveSheet.pagesetup.PrintArea = ""
Range("G4").Select
End Sub
 
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
how can I keep a tab in place? missy8892 Excel Discussion (Misc queries) 1 March 26th 10 08:28 PM
No place for sum [email protected] Excel Worksheet Functions 4 March 28th 07 02:52 AM
This place ROX!! brodiemac Excel Discussion (Misc queries) 0 December 22nd 05 03:21 PM
Am I in the right place? jimmy Excel Programming 2 November 8th 05 01:15 PM
1st, 2nd, 3rd Place etc..... JohnT Excel Worksheet Functions 7 January 9th 05 12:41 PM


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