Search the web
Sign In
New User? Sign Up
nsbasic-desktop · Forum for NS Basic/Desktop users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1352 - 1381 of 3191   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1352
The following code copies values from 3 adjacent cells in excel to an array in NSBASIC. The array value in Str(1,1) However I can't get the value from the...
michael_newett
Offline Send Email
May 3, 2006
1:36 pm
1353
You may want to retrieve the cells one at a time..... I know it is a bit more cumbersome, but I believe that it will resolve your issue. Thanks, Lester ... ...
Lester
lester_callif
Offline Send Email
May 3, 2006
2:18 pm
1354
Hi Lester, I already have my app working by retrieving each cell at a time. Posted a demo of excel commands used on here about a week ago. The problem is that...
michael_newett
Offline Send Email
May 3, 2006
2:31 pm
1355
What does the UBound function tell you?...
George Henne
ghenne
Offline Send Email
May 3, 2006
2:43 pm
1356
The following short example simulates my problem without using Excel. Dim Str(10,10) Dim Cells(10,10) Cells(1,1)="1" Cells(1,2)="2" Cells(1,3)="3" ...
michael_newett
Offline Send Email
May 3, 2006
2:58 pm
1357
Hi George, adding the following line 'MsgBox Ubound(Str)' gives me the value'10' MsgBox TypeName(Str(1,1)) 'knows it is a variant MsgBox TypeName(Str(1,2))...
michael_newett
Offline Send Email
May 3, 2006
2:59 pm
1358
The value is in str(1,1)(1) This might look strange, but makes good sense. The element str(1,1) contains an array. To reference the first element of an array,...
George Henne
ghenne
Offline Send Email
May 3, 2006
3:21 pm
1359
Hi George, that solved my simulated problem, but it doesnt work with the Excel demo. I'm surprised because I thought that it would have! The Excel data is...
michael_newett
Offline Send Email
May 3, 2006
3:48 pm
1360
Michael, I think I managed to read more than 1 value from Excel using the "Range" option now! Here's a sketch of what I did: ... like your program, using...
Thomas Gruber
computerhusky
Offline Send Email
May 3, 2006
4:46 pm
1361
Michael, I couldn't wait, tested it myself with your 1000x22 array (A1:V1000); it is almost immediate! And it works, with just 1 statement! I actually made the...
Thomas Gruber
computerhusky
Offline Send Email
May 3, 2006
4:53 pm
1362
Thats great news! Thanks to you and George for your efforts. I'll update my Excel commands demo with this info and post on here as before. I now have the...
michael_newett
Offline Send Email
May 3, 2006
5:05 pm
1363
This group is great!...
George Henne
ghenne
Offline Send Email
May 3, 2006
5:09 pm
1364
Hello Michael, All meaningful demo programs are certainly useful, i think they are the best way to learn a new programming language and explore ist...
computerhusky
Offline Send Email
May 3, 2006
5:45 pm
1365
Yes, you can access specific sheets. If I remember I'll include it in demo also. Dont know what you mean by retrieving 3 dimensions at once? Mike ... the best...
michael_newett
Offline Send Email
May 3, 2006
6:02 pm
1366
Hi Michael, >>> Yes, you can access specific sheets. If I remember I'll include it in demo also. <<< Please do! >>> Dont know what you mean by retrieving 3...
computerhusky
Offline Send Email
May 3, 2006
7:39 pm
1367
Hello Michael, In the meantime I did a small test to reduce the complexity of the program, here is my result, perhaps you can use some of it in your example: ...
computerhusky
Offline Send Email
May 3, 2006
9:27 pm
1368
Have you had any luck in copying the NSBASIC array back into excel ? I've given it a quick try but had no luck. It should be possible. The following line is...
michael_newett
Offline Send Email
May 4, 2006
6:09 pm
1369
Hello, I used to work with Excel which is very keyboard intensive. To save time and effort I often write macros (which are programs in Visual Basic For...
Roy Lique
roylique
Offline Send Email
May 4, 2006
8:46 pm
1370
Hi Michael, here's the code that puts some values from an array into Excel, without fetching anything first. The array is just a 2 dimensional array declared...
computerhusky
Offline Send Email
May 4, 2006
9:25 pm
1371
Hi Michael, yes, no problem (I hadn't tried it, but your question made me curious of course): Dim Filename,objExcel,Cell(3,3),row,column ' Dim MyArray ...
computerhusky
Offline Send Email
May 4, 2006
9:40 pm
1372
Could you post the file in the Files section of the Forum? Attachments are stripped off the online messages. Thanks, John ... save time and effort I often...
John Carter
johnecarter
Offline Send Email
May 4, 2006
10:16 pm
1373
Hi Thomas, I think that your example wont work. I suspect that when you read the NSBASIC array back into Excel, all of the cells that you select for the range...
michael_newett
Offline Send Email
May 4, 2006
10:46 pm
1374
It's done! It's named CopyRange.xls John Carter <nsb@...> wrote: Could you post the file in the Files section of the Forum? Attachments are stripped...
Roy Lique
roylique
Offline Send Email
May 4, 2006
10:48 pm
1375
Hello: When pasting/copying in Excel the following happen: If you put a $ sign in front of the column and no $ sign in front of the row, the column will stay...
Roy Lique
roylique
Offline Send Email
May 4, 2006
10:58 pm
1376
Thank you! ... section of the Forum? ... I ... programs. ... I ... demo. ... low ... language Computer programming languages ... Service. ... Great rates...
John Carter
johnecarter
Offline Send Email
May 4, 2006
11:22 pm
1377
Hi Michael, I saw the correct values in the Excel sheet! I don't (normally) publish an untested piece of code, certainly not about a subject where I have no ...
computerhusky
Offline Send Email
May 5, 2006
7:03 am
1378
Figured it out now. Dont know what I was doing wrong before but it works now! Probably too many hours in front on computer screen! Here are methods of...
michael_newett
Offline Send Email
May 5, 2006
8:30 am
1379
Hello: Forget about this previous post on Excel propagation - I believe it's too complicated for a simple range population. If you can manage to TRANSLATE the...
Roy Lique
roylique
Offline Send Email
May 5, 2006
3:51 pm
1380
This four step guide will give you the foundation you always wanted. Learning the basics in handling stocks. This guide will help anyone, interested in getting...
basi_cgrp_505@...
basi_cgrp_505
Offline Send Email
May 5, 2006
3:59 pm
1381
Hello: Forget about this previous post on Excel propagation - I believe it's too complicated for a simple range population. If you can manage to TRANSLATE the...
Roy Lique
roylique
Offline Send Email
May 5, 2006
8:06 pm
Messages 1352 - 1381 of 3191   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help