Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default FreezePanes on a Row without using an ActiveWindow object

I believe that Freezing Panes is the only operation in VBA that requires you
to Select a cell, so no, you can't do it the way you want. You must use
Select.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on the web site)


wrote in message
oups.com...
Is it possible to as make a FreezePanes assignment without using a
Select and an ActiveWindow?

Instead of:

rows("2:2").Select
ActiveWindow.FreezePanes = True

something like

Sheets("MySheet").Rows("2:2").FreezePanes = True



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default FreezePanes on a Row without using an ActiveWindow object

Is it possible to as make a FreezePanes assignment without using a
Select and an ActiveWindow?

Instead of:

rows("2:2").Select
ActiveWindow.FreezePanes = True

something like

Sheets("MySheet").Rows("2:2").FreezePanes = True

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
Excel.ActiveWindow Is Excel.ActiveWindow Returns False Neal Andrews Excel Programming 1 October 26th 06 11:10 AM
FreezePanes from VBA? G Lykos Excel Programming 8 September 23rd 06 04:06 PM
.FreezePanes Bob McClellan Excel Programming 9 September 14th 06 02:20 PM
freezepanes Rob Excel Programming 1 January 6th 06 04:17 PM
Creating a Powerpoint object (in XP onwards) with an ActiveWindow BizMark Excel Discussion (Misc queries) 0 August 12th 05 12:46 PM


All times are GMT +1. The time now is 05:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"