Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Buttons they are moving on Me

I have used this worksheet for several months, and in this sheet I have
included a couple buttons. Today when I print this sheet out , the buttons
moved to another location on the sheet.

Here is my code that I have used on button one:

Private Sub CommandButton2_Click()
Range("B3").Select
ActiveWindow.ScrollRow = 2
ActiveWindow.FreezePanes = True
End Sub

And button two is using this code:

Private Sub CommandButton3_Click()
ActiveWindow.FreezePanes = False
Range("A2").Select
ActiveWindow.ScrollRow = 1
End Sub

Can somebody tell me why these buttons just now are deciding to move after
printing.

Steve
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Buttons they are moving on Me

xl2002???

http://support.microsoft.com/default...b;EN-US;838910
Controls move to the left of the worksheet in Microsoft Excel 2002

But Jim Rech recently posted this:
This article is now obsolete. Since the 10/12/2004 security patch
there is no need to get a hotfix (although this article does not directly
mention this fix, it's in there).

http://support.microsoft.com/default...b;en-us;832332

But Myrna Larson (and others) posted that it didn't work for her in all her
workbooks.

caldog wrote:

I have used this worksheet for several months, and in this sheet I have
included a couple buttons. Today when I print this sheet out , the buttons
moved to another location on the sheet.

Here is my code that I have used on button one:

Private Sub CommandButton2_Click()
Range("B3").Select
ActiveWindow.ScrollRow = 2
ActiveWindow.FreezePanes = True
End Sub

And button two is using this code:

Private Sub CommandButton3_Click()
ActiveWindow.FreezePanes = False
Range("A2").Select
ActiveWindow.ScrollRow = 1
End Sub

Can somebody tell me why these buttons just now are deciding to move after
printing.

Steve


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Buttons they are moving on Me

Thanks Dave,

It works for me.

BTW I just download those updates this morning, so that explains to me why
it started moving.

Steve

"Dave Peterson" wrote:

xl2002???

http://support.microsoft.com/default...b;EN-US;838910
Controls move to the left of the worksheet in Microsoft Excel 2002

But Jim Rech recently posted this:
This article is now obsolete. Since the 10/12/2004 security patch
there is no need to get a hotfix (although this article does not directly
mention this fix, it's in there).

http://support.microsoft.com/default...b;en-us;832332

But Myrna Larson (and others) posted that it didn't work for her in all her
workbooks.

caldog wrote:

I have used this worksheet for several months, and in this sheet I have
included a couple buttons. Today when I print this sheet out , the buttons
moved to another location on the sheet.

Here is my code that I have used on button one:

Private Sub CommandButton2_Click()
Range("B3").Select
ActiveWindow.ScrollRow = 2
ActiveWindow.FreezePanes = True
End Sub

And button two is using this code:

Private Sub CommandButton3_Click()
ActiveWindow.FreezePanes = False
Range("A2").Select
ActiveWindow.ScrollRow = 1
End Sub

Can somebody tell me why these buttons just now are deciding to move after
printing.

Steve


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Buttons they are moving on Me

Dave Peterson wrote:

xl2002???

http://support.microsoft.com/default...b;EN-US;838910
Controls move to the left of the worksheet in Microsoft Excel 2002

But Jim Rech recently posted this:
This article is now obsolete. Since the 10/12/2004 security patch
there is no need to get a hotfix (although this article does not directly
mention this fix, it's in there).

http://support.microsoft.com/default...b;en-us;832332

But Myrna Larson (and others) posted that it didn't work for her in all her
workbooks.


I have a problem with buttons disappearing altogether (though just one
at a time) in Excel X for Mac. Has anyone else experienced this?


--
Gordon Rainsford

London UK
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Buttons they are moving on Me

If you don't get a good response here, you may want to post in:
microsoft.public.mac.office.excel



Gordon Rainsford wrote:

Dave Peterson wrote:

xl2002???

http://support.microsoft.com/default...b;EN-US;838910
Controls move to the left of the worksheet in Microsoft Excel 2002

But Jim Rech recently posted this:
This article is now obsolete. Since the 10/12/2004 security patch
there is no need to get a hotfix (although this article does not directly
mention this fix, it's in there).

http://support.microsoft.com/default...b;en-us;832332

But Myrna Larson (and others) posted that it didn't work for her in all her
workbooks.


I have a problem with buttons disappearing altogether (though just one
at a time) in Excel X for Mac. Has anyone else experienced this?

--
Gordon Rainsford

London UK


--

Dave Peterson
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
Moving data between sheets using buttons Garekko Excel Worksheet Functions 0 April 27th 06 07:17 AM
Moving Buttons stevepain Excel Discussion (Misc queries) 4 December 22nd 05 08:01 PM
Sort without moving buttons David P. Excel Discussion (Misc queries) 1 July 3rd 05 12:36 AM
Command buttons moving in Excel Tharkaway Excel Programming 3 March 14th 05 08:03 PM
keeping buttons from moving Lester Lee Excel Programming 1 July 13th 04 06:00 PM


All times are GMT +1. The time now is 03:55 PM.

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"