LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default FreezePanes from VBA?

Nick, I was expecting that the pane would be frozen, same as if I did the
same thing by hand. However, I step through the execution, and the cell is
selected, per below, but then the VBA freezepanes method has no effect.
This from VBA running in MS Project.

George


"NickHK" wrote in message
...
What are you expecting to happen ?
Are the Panes alraedy frozen ?

NickHK

"G Lykos"

.gbl...
Greetings! Not understanding what I'm seeing. I'm creating an Excel
workbook from MS Project VBA, then formatting a worksheet in it and
exporting data to it. I want to freeze the pane, and captured the steps
below in a macro from within Excel, then inserted it into the Project

sub.

Problem: when the MS Project sub executes, the Select below executes

and
the worksheet responds, and the True line below executes but the

worksheet
doesn't respond.

'Freeze
Range("F5").Select
ActiveWindow.FreezePanes = True

Any ideas why this doesn't work?

Thanks,
George






 
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
.FreezePanes Bob McClellan Excel Programming 9 September 14th 06 02:20 PM
Help with Excel FreezePanes from code lanem Excel Programming 2 May 24th 06 07:37 PM
Problems specifying where "freezepanes" occurs using VBA broro183[_66_] Excel Programming 2 April 19th 06 12:00 PM
freezepanes Rob Excel Programming 1 January 6th 06 04:17 PM


All times are GMT +1. The time now is 02:47 AM.

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"