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

Hi,

Using xl2000 my string is truncated to 256 characters. The point of
the loop below is to extract only the rows that are numeric (skip
nulls entered by user as a space) for plotting so that the axes remain
sensible. The macro's running in a module. No problem with the yPlot
string however the xPlot string is truncated at 256 characters and
causes subsequent problems. How can I get around this?

Thanks,
ljorn

Set vcRng = ActiveSheet.Range("G11:G18").Cells

Do Until ii = 9
If IsNumeric(vcRng(ii)) Then
If IsNumeric(tmRng(ii)) Then
If ii = 1 Then
yPlot = vcRng(ii).Address(RowAbsolute:=False, _
ColumnAbsolute:=False, ReferenceStyle:=xlA1)
xPlot = "=(" & tmRng(ii).Address(ReferenceStyle:=xlR1C1, _
External:=True)
Else
yPlot = yPlot & "," & vcRng(ii).Address(RowAbsolute:=False, _
ColumnAbsolute:=False, ReferenceStyle:=xlA1)
xPlot = xPlot & "," &
tmRng(ii).Address(ReferenceStyle:=xlR1C1, _
External:=True)
End If
End If
End If
ii = ii + 1
Loop
' xPlot = xPlot & ")"

...
ActiveChart.SeriesCollection(1).XValues = xPlot ' TRUNC. therefore
error
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
truncation with imports via html jvblue Excel Worksheet Functions 0 September 23rd 08 10:03 PM
Scientific Notation Truncation Spring New Users to Excel 5 November 7th 07 07:05 PM
truncation of y-axis text Trainman Charts and Charting in Excel 2 March 15th 06 10:14 AM
Print truncation sbweid Excel Discussion (Misc queries) 0 November 8th 05 04:25 PM
Truncation of content/detail randomly oursmp Excel Discussion (Misc queries) 0 September 9th 05 08:48 AM


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