Avatar of AFGPHXExcel
AFGPHXExcel

asked on 

How do I move a freeze pane line in VBA?

I am looking to move a freeze pane line using VBA.
Microsoft Excel

Avatar of undefined
Last Comment
Saqib Husain
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

You will have to unfreeze panes and then freeze panes
Avatar of AFGPHXExcel
AFGPHXExcel

ASKER

Can I specify cells to freeze using VBA?
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

You will have to select the next row/column then

windows.freezepanes=true
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo