Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default mutlipage in the center of userform

Hi Experts,

I have a userform that fills the screen.
On the userform i have a multipage.

I would like the multipage centered on the userform....

I do not know how to do that in VBA.
Could anybody please help me ?
thanks,
Pierre


--
Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default mutlipage in the center of userform

Pierre,

Add this activate code into your userform

Private Sub UserForm_Activate()
With Me
MultiPage1.Left = (.Width - MultiPage1.Width) / 2
MultiPage1.Top = (.Height - MultiPage1.Height) / 2
End With
End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:56d8fc08bc1fe@uwe...
Hi Experts,

I have a userform that fills the screen.
On the userform i have a multipage.

I would like the multipage centered on the userform....

I do not know how to do that in VBA.
Could anybody please help me ?
thanks,
Pierre


--
Message posted via http://www.officekb.com



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
Merge and Center and Center Accross Selection Bojingles03 New Users to Excel 3 March 17th 09 07:05 PM
How do we Extract/Save a single worksheet out of a Mutlipage workb Tom Excel Discussion (Misc queries) 2 March 16th 06 02:58 PM
Center Across Selection Vertically Help. I am trying to center te. msond Excel Discussion (Misc queries) 1 March 29th 05 12:37 PM
UserForm position other than center of the screen. Jay Fincannon Excel Programming 1 January 23rd 05 02:23 AM
textbox in userform(vertical center) tom taol Excel Programming 0 January 22nd 05 08:11 AM


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