Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default user form properties not saving

Hello All.

I have a simple user form that I want to have in the lower left hand part of
the screen when the form is shown. I can set the properties just fine and all
is well, until I save the file, at which point the form goes back to a
default size and position on the screen. This happens whether I am on a
Windows2000 or XP platform. This is a simple user form with just four option
button but I'd like to keep it out of the way of the Chart that is being
displayed. Specifically the option buttons change the scale of the chart.
Probably something simple but I need help just the same, thanks in advance!

Charles Ames
U of O
Eugene OR USA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default user form properties not saving


right click on the box. click on Format Control. and on properties ta
change to move and size with cell

--
john q publi
-----------------------------------------------------------------------
john q public's Profile: http://www.excelforum.com/member.php...fo&userid=1578
View this thread: http://www.excelforum.com/showthread.php?threadid=27293

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default user form properties not saving

In the form module, add...

Private Sub UserForm_Initialize()
Me.StartUpPosition = 0
Me.Top = Application.Height - Me.Height
Me.Left = 0
End Sub

Depending on your resolution, the form may not be perfectly seated in the
corner. But it will be close.

Dale Preuss

"amescha" wrote:

Hello All.

I have a simple user form that I want to have in the lower left hand part of
the screen when the form is shown. I can set the properties just fine and all
is well, until I save the file, at which point the form goes back to a
default size and position on the screen. This happens whether I am on a
Windows2000 or XP platform. This is a simple user form with just four option
button but I'd like to keep it out of the way of the Chart that is being
displayed. Specifically the option buttons change the scale of the chart.
Probably something simple but I need help just the same, thanks in advance!

Charles Ames
U of O
Eugene OR USA

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default user form properties not saving




"amescha" wrote:

Hello All.

I have a simple user form that I want to have in the lower left hand part of
the screen when the form is shown. I can set the properties just fine and all
is well, until I save the file, at which point the form goes back to a
default size and position on the screen. This happens whether I am on a
Windows2000 or XP platform. This is a simple user form with just four option
button but I'd like to keep it out of the way of the Chart that is being
displayed. Specifically the option buttons change the scale of the chart.
Probably something simple but I need help just the same, thanks in advance!

Charles Ames
U of O
Eugene OR USA

"Dale Preuss" wrote:

In the form module, add...

Private Sub UserForm_Initialize()
Me.StartUpPosition = 0
Me.Top = Application.Height - Me.Height
Me.Left = 0
End Sub

Depending on your resolution, the form may not be perfectly seated in the
corner. But it will be close.

Dale Preuss


Dale,

Worked like a charm!
Still I wonder why these don't simply save along with the rest of the file?
For example I have the ShowModal property set to False and that stays as
False.

amescha
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
Worksheet Properties - Last User John Calder New Users to Excel 1 May 11th 07 01:30 AM
Trouble with saving user input in an Excel Form. University of Maine student Excel Discussion (Misc queries) 0 March 14th 06 07:31 PM
Efficient User Form vba coding for saving to worksheet Cheryl Excel Programming 1 July 23rd 04 02:07 PM
Saving a Workbook: Forcing User to Rename before Saving Rollin_Again[_6_] Excel Programming 5 April 16th 04 02:54 PM


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