Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default parameters AddTextbox

Hi,

here is the way to draw a textbox on a sheet.

ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, 95.25, 124.5, _
59.25, 67.5).Select

I have seen that their are other possible notices on the position, by
example 95#. What means # in this case? Are their other notices available?

txs
Piet


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default parameters AddTextbox

# means that the constant (or variable) should be treated as double instead of a
long.

Variables that are explicity declared as double:

dim myVar as double
or
dim myVar#

Can hold much bigger numbers than longs.

Take a look in VBA's help for "Data Type Summary" and you'll see the limits of
each type.

You can also use:
% to treat a constant as an integer (or Dim myVar1%)
@ for currency
& for Long
! for Single
$ for String


Personally, I declare variables using words--not by using type-declaration
characters. I can't remember them (for the most part).



piet wrote:

Hi,

here is the way to draw a textbox on a sheet.

ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, 95.25, 124.5, _
59.25, 67.5).Select

I have seen that their are other possible notices on the position, by
example 95#. What means # in this case? Are their other notices available?

txs
Piet


--

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
parameters DavidC Excel Discussion (Misc queries) 3 October 12th 09 06:48 PM
Too few parameters Laebrye Excel Discussion (Misc queries) 1 May 26th 09 11:56 AM
SQL & Like Parameters George Applegate[_2_] Excel Discussion (Misc queries) 2 November 2nd 07 06:11 PM
Too few parameters lou sanderson Excel Discussion (Misc queries) 1 January 13th 06 06:35 PM
too few parameters lou sanderson Excel Discussion (Misc queries) 1 December 14th 05 07:53 PM


All times are GMT +1. The time now is 11:46 AM.

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"