LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Selection.width / .height / .left / .top from cell refor userf

1. Dim iNum as Integer
iNum = Textbox1.Value

2. Textbox1.Value = "77"
CInt(Textbox1.Value) produces an Integer

SpinButton1.Value is a number (type Long), so no conversion is needed.

By the way, you can get the data type of any variable X with
Typename(X).

Hth,
Merjet

 
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
cell 's width and height EXCEL$B!!(BNEWS Excel Programming 1 August 1st 06 10:50 AM
UserForm TextBox with fixed Width and dynamic Height Soniya[_4_] Excel Programming 2 March 4th 06 08:38 AM
cell width and height Brian Brandt New Users to Excel 3 February 14th 06 10:57 AM
What does the 8.43 and 12.75 represent in height and width of cell ljfrantz40 Excel Discussion (Misc queries) 2 October 17th 05 02:25 AM
.AddShape(Type, Left, Top, Width, Height) AA2e72E Excel Programming 2 February 2nd 05 01:56 PM


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

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"