Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default What does the '#' character mean when appended to a number?

I recorded a macro while adding a shape (rectangle) to an Excel chart:

Sub box2()
'
' box2 Macro
' Macro recorded 1/8/2006 by mk2968
'

'
ActiveChart.Shapes.AddShape(msoShapeRectangle, 13.5, 103#, 59.5, 43#). _
Select
ActiveChart.ChartArea.Select
ActiveChart.Shapes("Rectangle 16").Select
Selection.ShapeRange.ScaleHeight 1#, msoFalse, msoScaleFromBottomRight
ActiveChart.ChartArea.Select
End Sub

What do the '#' characters indicate? I can't find in the documention. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default What does the '#' character mean when appended to a number?

Search VBA's help for "Double Data Type" and you'll see this:

Double (double-precision floating-point) variables are stored as IEEE 64-bit
(8-byte) floating-point numbers ranging in value from -1.79769313486231E308 to
-4.94065645841247E-324 for negative values and from 4.94065645841247E-324 to
1.79769313486232E308 for positive values. The type-declaration character for
Double is the number sign (#).



Marilyn Kilian wrote:

I recorded a macro while adding a shape (rectangle) to an Excel chart:

Sub box2()
'
' box2 Macro
' Macro recorded 1/8/2006 by mk2968
'

'
ActiveChart.Shapes.AddShape(msoShapeRectangle, 13.5, 103#, 59.5, 43#). _
Select
ActiveChart.ChartArea.Select
ActiveChart.Shapes("Rectangle 16").Select
Selection.ShapeRange.ScaleHeight 1#, msoFalse, msoScaleFromBottomRight
ActiveChart.ChartArea.Select
End Sub

What do the '#' characters indicate? I can't find in the documention. Thanks.


--

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
Box With REPLY appended To A Cell: What Is It ? Robert11[_3_] New Users to Excel 3 March 11th 09 02:50 AM
File names appended with ~ plus alphanumeric characters Augied Excel Discussion (Misc queries) 0 January 13th 09 04:23 AM
appended a cell, but need to keep decimal places [email protected] Excel Discussion (Misc queries) 2 April 11th 07 10:31 PM
remove cr character from a + number and change number to - 159cr Cr character on numbers Excel Worksheet Functions 3 March 10th 06 10:34 PM
Pivot Table DataFields are appended with a '2', why? SunshineX Excel Discussion (Misc queries) 1 July 12th 05 06:15 PM


All times are GMT +1. The time now is 01:24 AM.

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"