Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to Move Excel Button

Greetings,

I'm using Excel 2000. I use a particular spreadsheet to keep track of
labor data each week and would like to make macro that will copy a
blank copy of formulas and data and paste it to the bottome of my
exsisting spreadsheet, this part I can do. The part I am having
problems with is this, I made a button that sits off to the side of my
data on this spreadsheet... and what I would like to do is put in the
macro the movement of this button so when a new weeks worth of data
gets copied down to the end of my sheet it moves the button down next
to the new weeks data.

Thanks for any insight,
Benjamin L. Falk

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Macro to Move Excel Button

To fit CommandButton1 to cell K100:

'------------------------------------------------
Sub tester()
Dim oCB As Object
Set oCB = ActiveSheet.OLEObjects("CommandButton1")
With Range("K100")
oCB.Top = .Top
oCB.Left = .Left
End With
End Sub
'--------------------------------------------------

HTH
--
AP

a écrit dans le message de news:
...
Greetings,

I'm using Excel 2000. I use a particular spreadsheet to keep track of
labor data each week and would like to make macro that will copy a
blank copy of formulas and data and paste it to the bottome of my
exsisting spreadsheet, this part I can do. The part I am having
problems with is this, I made a button that sits off to the side of my
data on this spreadsheet... and what I would like to do is put in the
macro the movement of this button so when a new weeks worth of data
gets copied down to the end of my sheet it moves the button down next
to the new weeks data.

Thanks for any insight,
Benjamin L. Falk



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to Move Excel Button


Thanks a lot =)

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
Button macro to move/delete active row KevHardy Excel Discussion (Misc queries) 4 February 13th 10 11:59 AM
Move Macro Button on Sheet to a toolbar Dan Excel Discussion (Misc queries) 3 March 10th 07 08:04 PM
How to move a button with an assinged macro Dean[_8_] Excel Programming 2 May 5th 06 07:49 AM
How do I get a Control Button in Excel to move down the page when. Digger48 Excel Discussion (Misc queries) 1 April 13th 05 01:05 PM
command button in excel will move when print. [email protected] Excel Discussion (Misc queries) 1 December 29th 04 03:53 PM


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