Welcome
Welcome to <strong>SpreadCE / Spread32</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

first column number and feeze panes

Post your comments, questions, bug reports and feature requests here.

first column number and feeze panes

Postby danielweigandt on Fri Mar 20, 2009 3:36 pm

With out clicking the first visible column (not the freeze pane), How can I obtain with a macro the number column of the first visible one?
danielweigandt
 
Posts: 7
Joined: Wed Aug 06, 2008 9:33 pm

Postby stephenbye on Fri Mar 20, 2009 9:42 pm

That is a good question.

Microsoft Excel has a macro function (GET.WINDOW) which returns such values, but I have not yet implemented the corresponding function in Spread32.

While I try to find an alternative way to derive it in the current version of Spread32, please can you tell me why you need to know which is the leftmost scrollable column? There may be an alternative solution to what you want to achieve.
stephenbye
Site Admin
 
Posts: 157
Joined: Sun Aug 12, 2007 11:56 pm

first show column

Postby danielweigandt on Sun Mar 22, 2009 2:53 pm

I find a date (with find function) and change a value in that column. I want to return to the same view that the user was before the macro starts.The column A is freeze.
Regards,
Daniel
danielweigandt
 
Posts: 7
Joined: Wed Aug 06, 2008 9:33 pm

first show column

Postby danielweigandt on Sun Mar 22, 2009 2:58 pm

I have to select a cell (student name) in column A (freeze) because if I select the column in the righ(first column show)t I could know witch column is and return back after the macro, but thats not what I want.
Regards,
Daniel
danielweigandt
 
Posts: 7
Joined: Wed Aug 06, 2008 9:33 pm

Postby stephenbye on Mon Apr 13, 2009 3:55 pm

I have now implemented the GET.WINDOW macro function.
Please let me know which version of the software you are using and I will send a copy of it to you.
stephenbye
Site Admin
 
Posts: 157
Joined: Sun Aug 12, 2007 11:56 pm

spread32 version

Postby danielweigandt on Mon Jul 20, 2009 8:39 pm

I have ver 2.02.
I will download the trial 2.03 version
INow I have other problem: get.note send me an error. If I am using it the wrong way can you write me a short example.
Thanks
[/b]
danielweigandt
 
Posts: 7
Joined: Wed Aug 06, 2008 9:33 pm

Postby stephenbye on Mon Jul 20, 2009 9:44 pm

I will send you a copy of the 2.04 version, which contains the GET.WINDOW macro function.

The GET.NOTE function fetches the comment text associated with a cell. The general form is:
GET.NOTE( cell_reference , start_position , length )

If you don't enter the cell reference then the function will use the active cell (that is the current cursor cell on the currently displayed sheet).

You can use the start position and length parameters to select just a part of the comment.

On a macro sheet, the function:
=GET.NOTE()
will retrieve the comment text from the active cell, and store it as the result of the formula. You can see it by using the Format > Sheet > Formulas menu option to switch the display between the formulas and the values.

Or you can use the function as part of a more complicated formula, such as:
=ALERT(GET.NOTE())

To retrieve the text for a particular cell, use it like this:
=GET.NOTE(Sheet1!A1)

To retrieve just a part of the comment text, use it like this:
=GET.NOTE(,10,5)
This fetches 5 characters of the comment text, starting at position 10.

I will send you an example file.
stephenbye
Site Admin
 
Posts: 157
Joined: Sun Aug 12, 2007 11:56 pm


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron