Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Question about the .move option

When a certain button is clicked I would like to move the combo box o
my form to a different location. Can someone give me an example of ho
to do this so I can play around with it and tailor it to my form.

Thanks,
TyeJa

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Question about the .move option

Here's some sample code


Private Sub CommandButton1_Click()
Dim oOLE As OLEObject

Set oOLE = ActiveSheet.OLEObjects("Combobox1")
With oOLE
.Left = 200
.Top = 100
End With

End Sub


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"TyeJae " wrote in message
...
When a certain button is clicked I would like to move the combo box on
my form to a different location. Can someone give me an example of how
to do this so I can play around with it and tailor it to my form.

Thanks,
TyeJae


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Question about the .move option

I have been playing around with this for a while and I just can no
figure out the format

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Question about the .move option

Thanks, that works great.

TyeJae


---
Message posted from http://www.ExcelForum.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
Easily change Move selection after Enter option Paul S[_2_] Excel Discussion (Misc queries) 2 February 26th 08 09:13 PM
move or copy option in excel 2007 Meebers Excel Worksheet Functions 2 December 17th 07 09:31 PM
Tools - Option - "move selection after enter" jules75 Excel Worksheet Functions 0 August 17th 05 10:56 PM
cell formatting?? and making it so that it will move to the first option on a listing ratt Excel Worksheet Functions 1 August 17th 05 01:53 PM
Option Buttons move after placing on sheet james549 Excel Worksheet Functions 2 January 20th 05 05:05 AM


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