Why do row numbers obscure part of column A in doctored Excel file?
I love my MAC but find that the imported Excel files that I have changed over to Numbers have the same problem. The row numbers feature interferes or overlaps part of Column "A" making it difficult to read the contents of Column "A" without moving my cursor to remove the row numbers indicator.
Any suggestions?
Many Thanks,
Chuck
No, the scroll bar is all the way to the left. It has only happened with former landscape Excel files that I have made into landscape Numbers files. I am working with 0.25 margins on the left and right because there is a lot of information and i need to margins set there. When you put your cursor anywhere within the table, the number rows appear and cover-up about 1.3rd of Column "A".
Thanks for trying to help!
Similar Messages
-
Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app, any help?
What does the error say?
A couple of thoughts: the file is corrupted or is password-protected. Corruption is more likely to cause Numbers to crash & Numbers cannot open password-protected Excel files. Try using one of the free Office clones & see what happens. -
I have a MacBook Air, and have purchased individually Numbers and Pages. I was sent an Excel file on a thumb drive but cannot open the file. The message states that the Excel file is encryeted. Is ther any way to open a PC file on my Mac Book Air?
Pat and BobExcel does not use the .xcl extension for any of its native file formats? The only files I've ever seen with xcl as the file extension were associated with embedded application code projects.
If this is in fact an Excel file, but an encrypted one, you cannot open it (in excel or any compatible application) without the decryption password. -
OLE2 how to set a column width of an excel file i'm creating?
how can i set the column width in an excel file i'm creating with ole?
or even, haw can i set the auto-fix properties?Hallo !
SORRY MY ENGLISH is very BAD.
I tried to set page header and footer in Excel sheet with abap ole
DATA : BEGIN OF enter,
x(1) TYPE x VALUE '0D',
END OF enter.
DATA : format(255) TYPE c.
FORM set_page_sheet.
CALL METHOD OF excel 'ActiveSheet' = sheet.
CALL METHOD OF sheet 'PageSetup' = pagesetup.
SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
CLEAR format.
ERROR
CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
ERROR
SET PROPERTY OF pagesetup 'RightHeader' = format.
CLEAR format.
CONCATENATE ' Text 1 ' enter-x 'Text 2'
enter-x 'Text 3 ' INTO format.
SET PROPERTY OF pagesetup 'RightFooter' = format.
FREE OBJECT pagesetup.
ENDFORM. " set_page_sheet
Activate report -
ERROR - The enter-x must by data type c or another then data type x
Thanks for answer. -
Downloaded Firefox 2wks ago. Just now working with a large Excel spreadsheet when something happened losing all 6 sheets of data. My file location now shows sheet data as Firefox Document. Now I can't retrieve this file of data; it was financial data! What happened for Firefox to intervene?
No, Sir. I was strictly working within a newly created Excel file. Actually, Internet Explorer is current browser.
Thank you for interest and any suggestion.
Re-thinking thru this, it is probable I downloaded the base data thru FIREFOX. I was working with the project on an Excel spread sheet when I lost the data. The sheets still exist but the data is missing. Very strange. -
I am fairly new to Macro and VBA in Excel. I am trying to reduce the amount of work involved in a task that is performed often in our office. Currently, the task involves using 2 separate Excel files. One file is a tracking sheet and the second is the document
that gets sent out to the client. The second document has all the same information that is inserted into the tracking sheet. What I would like to do is have the information that is in one row on the tracking sheet populate into a new excel file that is created
automatically from an existing template.
I have been able to make this partially work. What I have been able to achieve is have the cell that is selected in the tracking sheet (the description field) copy into the new file that is created from the template that is on our server.
Sub NewRFI()
' NewRFI Macro
MsgBox Selection.Address(ReferenceStyle:=xlA1, _
RowAbsolute:=False, ColumnAbsolute:=False)
Selection.Copy
Workbooks.Add Template:= _
"template file path goes here"
Range("C14").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Range("C14").Select
Application.CutCopyMode = False
End Sub
What I need to do is get the rest of the information from that same row in the tracking sheet to copy to the new file as well. The other information includes the document number (one cell to the left of the selected cell), who it is from (one cell to the
right of the selected cell), and the date (two cells to the right of the selected cell). As stated, this information is all in the same row on the tracking sheet. Each piece of information needs to be copied to a certain cell in the new file and I do not want
the source formatting to be copied to the new file.
Ideally, I would like it to operate like so: select the first cell in the row (in this case would be the document number field). Then click a button to run the macro that will then copy the information from that row in the tracking sheet to specific cells
in the new file that is created from the template.
This process will save us from having to either manually copy and paste the information into the new file or re-type the same information that is already in the tracking sheet.
This is probably a simple thing to do but it would be great if anybody had some insight on this issue. Thanks in advance!Try code like the following. You will have to change the target cells (D25, F1 and H4) to the ones you want, I just used some arbitrary cells as example.
Sub NewRFI()
Dim rngCell As Range
Set rngCell = ActiveCell
MsgBox Selection.Address(ReferenceStyle:=xlA1, _
RowAbsolute:=False, ColumnAbsolute:=False)
Workbooks.Add Template:="template file path goes here"
Range("C14").Value = rngCell.Value
' Change the target cells as needed
Range("D25").Value = rngCell.Offset(0, -1).Value
Range("F1").Value = rngCell.Offset(0, 1).Value
Range("H4").Value = rngCell.Offset(0, 2).Value
End Sub
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Numbers can't open Excel files generated by SQL Reporting Services
Hi
I have an issue with Numbers '09 not being able top open certain Excel files. The Excel files in question are XLS files (not XLSX) and come from SQL Reporting Services. They open fine with Excel on the Mac and on Windows - but Numbers on both the Mac and iPad pops up with an "Invalid file format" when trying to open them.
I see this as a problem with Numbers and would like to send Apple an example file so they can look at improving their Excel file support but I can't find anywhere to do this.
Do Apple monitor these forums? Has anyone else experienced this issue?
Thanks in advance,
Mike.Thanks
I compared the beginning of your file to the beginning of two XL ones which are on my machine (in fact, they are files created with openOffice).
You may see that there are many differences.
They may explain the different behaviour.
If someone is able to drive Excel with an AppleScript,
he may write a script opening your document in Excel,
saving it
opening the newly saved file in Numbers.
As I don't own Excel, I ignore its required syntax so I can't write a clean script.
If the XL's syntax is the same than the Numbers one, this quick and dirty one may do the trick :
set aFile to (path to desktop as text) & "Treatment Report No Header.xls"
tell application "System Events"
set aName to name of disk item aFile
end tell
tell application "Numbers"
open file aFile
save document 1 (* maybe save document aName *)
close document 1 (* maybe close document aName *)
end tell
tell application "Numbers"
open aFile
end tell
Yvan KOENIG (VALLAURIS, France) dimanche 6 juin 2010 17:18:27 -
Read a Column from an Excel file
Guys,
Is there a way I can read a specific column from an excel file, use that data to query and select data from a table and then insert the output into another column of that same excel file.
Please advise! Thanks> Is there a way I can read a specific column from an excel file, use that data to query and select data from a
table and then insert the output into another column of that same excel file.
Not easily. An Excel file is typically in a proprietary binary file format. Perhaps saved using the new MS Office XML format.. which would be possible to process via Oracle's XDB.
But assuming it is in a binary format, you need "something else" to read and parse that file for you - like ODBC or DDE or COM/DCOM, etc.
Oracle supports Heterogeneous Database Services. On a Windows Server, you can create a database link in Oracle that uses an ODBC driver to connect to an ODBC data source. There are ODBC drivers for Excel. However, this requires the data in the worksheet to be properly marked as a data table. Or did last time I looked at it about 2 years ago.
You can also call external "interfaces" from PL/SQL using EXTPROC - such interfaces can be DLLs. Which means you do have access to the Win32 API and application APIs from PL/SQL. This can be used to access the content of an Excel file - DDE for example can quite easily do this (you use it to peek the contents of an Excel grid location), but requires Excel to be running and that spreadsheet to be loaded. DDE can also be used to poke contents (write something back to a cell in a spreadsheet).
But using Oracle code to use an Excel file as a kind of database file... that IMO does not make a lot of sense. At all. -
Is possible to use one column in Excel file as parameter to retrieve data ?
I'm newbie to WEB ADI
is possible to use one column (or worksheet) in Excel file to enter data as parameters and use Web ADI to retrieve data ?
In example - user paste in one column list of items ID's - then press a button and in another columns get data such as description, primary UOM etc.Hi,
I will say no. Oracle WebADI integrators are not meant for such purpose.
HTH,
Nitin jain -
I have a Windows server app that generates Excel workbooks to be emailed to political campaign volunteers to be loaded into Numbers on an iPad, edited, then emailed back to be posted to the server database. There are two problems encountered:
1. The Excel workbook has the first row (column headings) and first column (route identifier) of cells locked, so that they will not scroll off the screen, but Numbers doesn't respect the locks, so when the user scrolls horizontally or vertically, the column headings and/or the route identifier scroll off the screen.
2. The Excel workbook has pop-up "tool-tip" type comments in certain column headings in order to provide the user with the acceptable entries for those columns, but Numbers does not respect those. When the user touches any of the commented column heading cells, a context menu appears instead of the comment.
What must I do in the Excel workbook sheets, or what settings can be made in Numbers to correct the above?I imported a Numbers '09 file into Numbers on the iPad. All comments were removed during import. Frozen header row and column were retained.
Thank you for your responses I must ask, however, when you refer to "importing" the Excel file, are you referring to a two step process whereby the Excel file is first converted by some other process into Numbers format, then opened in the Numbers application - which is what I have to do in my PC application to generate the Excel file, and reverse that process to convert the Excel back into my database format - or are you simply referring to opening the file in Numbers as "importing" it? And please excuse any ignorance, as I'm not at all familiar with Apple's terminologies. In fact, I don't own an iPad myself, but rather I have to depend on one of my clients to do the testing for me.
I imported an XLSX file into Numbers on the iPad. The file used "freeze panes" to "freeze" the first column and row. Only warning on import was that it changed fonts. It imported without the first row and column frozen and with no comments. Nothing I can do about the missing comments but it was a simple matter to turn the first column & row into headers and freeze them.
Unfortunately this would not be an efficient solution, since the end users are, for the most part, elderly political campaign volunteers who are fairly computer illiterate. These workbooks are actually canvassing lists - known as walklists. Their purpose is for the volunteers to interview voters, record the results of the interviews, and post the results to a database, which provides the campaigns with valuable strategizing capabilities. Also, these workbooks have multiple pages - as many as 10 or more. and from what I infer from the above, the setting changes would have to be made on each page.
My whole intent in developing this iPad/Tablet methodology was to significantly reduce volunteer's work - which is a recruitment benefit - and eliminate paper. While the latter would be accomplished, the former would not, and in fact would tend to increase it. It's necessary to keep the first row - column headings - and the first column - the route identifier - from scrolling off the page, so that the volunteer won't have to keep scrolling up and down and right and left to know what the data are.
Conclusion: Comments are not supported on the iPad version of Numbers. Frozen headers are not imported from Excel but can be recreated easily.
I was previously directed to the Apple website http://www.apple.com/ipad/from-the-app-store/apps-by-apple/numbers.html which extols the wonders of the Numbers application. About halfway down the page there's a section regarding, "Sliders steppers and pop-ups". The web page states that pop-ups can be set up but, being a marketing site, gives no indication whatsoever as to how it's done. I was hoping someone could tell my if there's any way to carry them over from an Excel file. -
Why the row and column reverses?
I have an image 736 pixels (row) and 554 pixels (column). In the IMAQ ColorImageToArray.VI, the VI has a 2D array with Y axis as the first dimension (Dim) of the array and X-axis as the second Dim. Why do we break away from the tradition of the first dimension of a 2D-array is the row and the second dimension is column? When I go to use the Index Array function, the index 0 is row and index 1 is column, as the little hint or tip trying to give me clue.
I am confused.
Attachments:
image_2.jpg 76 KB
NIquestion.vi 30 KBDon't know the answer but I can give an idea that just might make make sense.
It has to do with keeping the various indexes of multi-dimensional arrays straigt in my head.
Think of a 7-d array as a library. To find a letter on a page of a book you would first go the correct Floor.
Then the correct isle of shelves.
Then the correct shelf.
Then the book.
Then the page.
Then the line (i.e. row).
then the character on the line (column).
Using this model higher "d" arrays are just collections of the lower arrays.
The smallest "d" array is comprised of only columns.
This model is a lot easier for me to handle, than trying to visualize a 3-d array inside 4-space.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How do I print column letters/row numbers in Numbers?
In '08 someone asked about printing row numbers and column letters in a Numbers SS. The answer: take a snapshot (CMD-SFT-4) or use Excel.
I am using iWork09; the problem continues with it. Has this flaw been fixed in later versions of iWorks? When I print the spreadsheet and a formula sheet, the formula sheet is pretty worthless if the spreadsheet has no colum/row identifiers. So much for having someone else audit my formula work.lawrence5M wrote:
When I print the spreadsheet and a formula sheet, the formula sheet is pretty worthless if the spreadsheet has no colum/row identifiers. So much for having someone else audit my formula work.
Supply the auditor with a copy of the file, rather than a printed copy of the document. If she needs a printed copy of the formula list, that's easy to obtain from the file. When she clicks on a cell containing a formula, Numbers colour-codes the cell references and highlights the referenced cells with those colours.
Use Header Row and Header column cells to label each column and row. Set Numbers preferences to use these labels in the formulas to name the referenced cells.
Add a column to the left of the table to contain row numbers, and a row to the top to contain column letters. The row numbers are easy to generate with a simple formula; the column letters require a little more thought, especially for those past column 26 (Z, followed by AA), but it's doable.
Use the suggestion (auxiliary tables) suggested above by Wayne.
Two other suggestions:
First, if this feature is, in your estimation, a significant flaw in Numbers, send feedback to Apple requesting it be included in a future version of numbers. Use the Provide Numbers Feedback item in the Numbers menu, or the link in this message—both go to the same place.
Second, Use the application that best meets your needs, whichever application that turns out to be.
Regards,
Barry -
Print Row Numbers and Column Letters
How do you tell Numbers to print the Row numbers and Column letters? This was very simple in Appleworks (print dialog box had that option). Can't find it in Numbers though.
Here is a script doing all the job for us.
Just select one or several cells in a table and run the script.
It duplicates it, add an header row, an header column, insert the needed labels and fill the other cells with a formula grabbing the contents of the original table.
--[SCRIPT build a table with headers]
Enregistrer len tant que Script: build a table with headers.scpt
déplacer le fichier créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Selectionner une cellule dans la table à dupliquer
menu Scripts > Numbers > build a table with headers
Le script duplique la table et crée des en-têtes de lignes et colonnes.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
+++++++
Save the script as Script: build a table with headers.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Select a range of cells in the table to 'duplicate'
menu Scripts > Numbers > build a table with headers
The script duplicate the table and inserts columns/rows headers.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2009/09/19
--=====
property theApp : "Numbers"
--=====
my activateGUIscripting() (* to be sure than GUI scripting will be active *)
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
set new_Table to t_Name & "_#"
my duplicateTable(s_Name, t_Name, new_Table)
set delim to my getLocalizedDelimiter()
(* grab localized function names and add an open parenthesis at end *)
set IF_loc to my getLocalizedFunctionName("Numbers", "IF") & "("
set CHAR_loc to my getLocalizedFunctionName("Numbers", "CHAR") & "("
set INT_loc to my getLocalizedFunctionName("Numbers", "INT") & "("
set MOD_loc to my getLocalizedFunctionName("Numbers", "MOD") & "("
set INDIRECT_loc to my getLocalizedFunctionName("Numbers", "INDIRECT") & "("
set ADDRESS_loc to my getLocalizedFunctionName("Numbers", "ADDRESS") & "("
(* grab localized function names and add a couple of parenthesis at end *)
set ROW_loc to my getLocalizedFunctionName("Numbers", "ROW") & "()"
set COLUMN_loc to my getLocalizedFunctionName("Numbers", "COLUMN") & "()"
tell application "Numbers" to tell document d_Name to tell sheet s_Name to tell table new_Table
if column count = 256 then
if my parleAnglais() then
error "Oops, already 256 columns !"
else
error "Désolé, il y a déjà 256 colonnes !"
end if
end if
if row count = 65536 then
if my parleAnglais() then
error "Oops, already 65536 rows !"
else
error "Désolé, il y a déjà 65536 lignes !"
end if
end if
try
add row above row 1
on error
if my parleAnglais() then
error "Oops, already five header row !"
else
error "Désolé, il y a déjà cinq rangs d’en tête !"
end if
end try
try
add column before column 1
on error
if my parleAnglais() then
error "Oops, already five header columns !"
else
error "Désolé, il y a déjà cinq rangs d’en tête !"
end if
end try
set nbr to row count
set nbc to column count
(* =IF(COLUMN()<28,CHAR(COLUMN()63),CHAR(INT((COLUMN()-2)/26)+64)&CHAR(MOD(COLUMN()-2,26)65)) *)
set theFormula to "=" & IF_loc & COLUMN_loc & "<28" & delim & CHAR_loc & COLUMN_loc & "+63)" & delim & CHAR_loc & INT_loc & "(" & COLUMN_loc & "-2)/26)+64)&" & CHAR_loc & MOD_loc & COLUMN_loc & "-2" & delim & "26)+65))"
tell row 1
repeat with c from 2 to nbc
set value of cell c to theFormula
end repeat
end tell -- row 1
(* =ROW()-1 *)
set theFormula to "=" & ROW_loc & "-1"
tell column 1
repeat with r from 2 to nbr
set value of cell r to theFormula
end repeat
end tell -- column 1
(* =INDIRECT(ADDRESS(ROW()-1,COLUMN()-1,,,"Tableau 2")) *)
set theFormula to "=" & INDIRECT_loc & ADDRESS_loc & ROW_loc & "-1" & delim & COLUMN_loc & "-1" & delim & delim & delim & quote & t_Name & quote & "))"
repeat with r from 2 to nbr
repeat with c from 2 to nbc
set value of cell r of column c to theFormula
end repeat -- with c
end repeat -- with r
end tell -- Numbers
--=====
Set the parameter delimiter which must be used in Numbers formulas
on getLocalizedDelimiter()
if character 2 of (0.5 as text) is "." then
return ","
else
return ";"
end if
end getLocalizedDelimiter
--=====
on getLocalizedFunctionName(theApp, x)
local p2bndl
set p2bndl to (path to application support as text) & "iWork '09:Frameworks:SFTabular.framework:Versions:A:Resources:"
return my getLocalizedName(theApp, x, p2bndl)
end getLocalizedFunctionName
--=====
on getLocalizedName(a, x, f)
tell application a to return localized string x from table "Localizable" in bundle file f
end getLocalizedName
--=====
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on isItAsheet(s)
try
tell application "Numbers" to tell document 1
count of tables of sheet s (*
Post an error if s is not a sheet *)
end tell
return true
on error
return false
end try
end isItAsheet
--=====
on activateGUIscripting()
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true (* to be sure than GUI scripting will be active *)
end tell
end activateGUIscripting
--=====
on duplicateTable(sourceSheet, sourceTable, newName)
local lesFeuilles, lesTables1, found, listOfRows, cor, i, isSourceSheet, nameI, j, lesTables2
tell application "Numbers"
activate
tell document 1
set lesFeuilles to name of sheets
if sourceSheet is in lesFeuilles then
tell sheet sourceSheet to set lesTables1 to name of tables
if sourceTable is not in lesTables1 then
if my parleAnglais() then
error "The sheet “" & sourceTable & "” of sheet “" & sourceSheet & "” is unavailable ! "
else
error "La table “" & sourceTable & "” de la feuille “" & sourceSheet & "” n'existe pas ! "
end if
end if -- sourceTable is not
else
if my parleAnglais() then
error "The sheet “" & sourceSheet & "” is unavailable ! "
else
error "La feuille “" & sourceSheet & "” n'existe pas ! "
end if
end if -- sourceSheet is in
end tell -- document
end tell -- application
if newName is not in lesTables1 then (*
Now, an ugly workaround to duplicate the sheet *)
set isOS4 to (system attribute "sys2") < 5
tell application "System Events" to tell application process "Numbers"
set docWindow to false (* CAUTION, an inspector ("AXFloatingWindow") or a Find/Search ("AXDialog") window may be open *)
repeat with i from 1 to (count of windows)
if subrole of window i is "AXStandardWindow" then
set docWindow to i (* got the document's window *)
exit repeat
end if
end repeat
if docWindow is not false then
tell outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window docWindow
select row 1
set value of attribute "AXFocused" to true
set found to false
set listOfRows to name of static text of every row
set cor to count of rows (* equal count of listOfRows *)
if isOS4 then (*
for mac Os X 10.4.11
CAUTION, listOfRows it's a list of lists !
{{"Feuille 2"}, {"Tableau 1"}, {"theSheet"}, {"Feuille 1"}, {"Tableau 2"}, {"Clément"}, {"Feuille 4"}} *)
repeat with i from 1 to cor (*
Scan the thumbnails *)
set nameI to item 1 of item i of listOfRows
set isSourceSheet to (sourceSheet = nameI) and my isItAsheet(nameI)
if isSourceSheet then
select row i
if (i < cor) and not my isItAsheet(item 1 of item (i + 1) of listOfRows) then (*
Here we may scan the thumbnails of tables of sourceSheet *)
repeat with j from i + 1 to i + (count of lesTables1)
if sourceTable = item 1 of item j of listOfRows then
select row j
set found to true
exit repeat
end if -- sourceTable
end repeat
else
if my parleAnglais() then
error "The sheet “" & sourceTable & "” of sheet “" & sourceSheet & "”" & return & " is not revealed in thumbnails ! "
else
error "La table “" & sourceTable & "” de la feuille “" & sourceSheet & "”" & return & " n'est pas affichée dans les vignettes ! "
end if -- my parleFrancais
end if -- (i < cor)
end if -- isSourceSheet
if found then exit repeat
end repeat -- i
else (*
for mac Os X 10.5.x
CAUTION, listOfRows is a list of lists !
{{}, {"Tableau 1"}, {"theSheet"}, {}, {"Tableau 2"}, {"Clément"}, {}}
With 10.5.x, the names of sheets are empty *)
repeat with i from 1 to cor
set isSourceSheet to (class of UI element 1 of row i is group) and (get value of static text 1 of group 1 of row i) is sourceSheet
if isSourceSheet then (*
Here we may scan the thumbnails of tables of sourceSheet *)
if value of UI element 1 of group 1 of row i is 0 then (*
reveal the tables's thumbnails and adjust the list accordingly *)
click UI element 1 of group 1 of row i (* click the black triangle to reveal tables *)
delay 0.1
set listOfRows to name of static text of every row (* update the list accordingly *)
end if -- value of UI…
repeat with j from i + 1 to i + (count of lesTables1)
if sourceTable = item 1 of item j of listOfRows then
select row j
set found to true
exit repeat
end if -- sourcetable
end repeat -- with j
end if -- isSourceSheet
if found then exit repeat
end repeat -- with i
end if -- check OS
end tell -- outline …
keystroke "d" using command down
end if -- docWindow
end tell -- System Events…
if docWindow is not false then (*
Rename the new table according to the passed name: newTable *)
tell application "Numbers" to tell document 1 to tell sheet sourceSheet
set lesTables2 to name of tables
repeat with i in lesTables2
if i is not in lesTables1 then (*
Here i is the name of the newly created table *)
set name of table i to newName
exit repeat
end if
end repeat
end tell
end if -- docWindow
end if -- newName is not…
end duplicateTable
--=====
on parleAnglais()
local z
try
tell application theApp to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) samedi 19 septembre 2009 17:33:59 -
How to keep the horizontal top column letters and left row numbers????
When working on a table, there is a vertical column on the left of the row numbers and a row across the top with letters that identify columns. I would like to keep this (as in Appleworks) but whenever I click on the table, or use Print View, or Print, these two identifying features disappear! I have tried everything to keep them, but no luck. Is there any way to do this?
thanksHello
may you take care of the existence of the Search field on the right side of this forum?
may you also look at the already existing threads (at least in the first two pages).
Your question is available four or five rows below yours.
Using it with the button more options and selecting The Numbers forum
enter the keywords lock AND title .
You will discover that yoy may get quick respnce to a lot of questions without asking for them in the forums.
I know that some posters dislike this kind of response.
I think that it's more useful to teach how to fish than to give a fish
Yvan KOENIG (from FRANCE mercredi 23 janvier 2008 15:52:01) -
White row numbers in rowheader when scrolling
I'm using a JTable as a row header in a JScrollPane. When i scroll the data table, header table scrolls but row numbers looks bad repainted white squares. I found some posts talking about this issue but I didn't find the answer, could anyone tell me if i'm missing something?
here's my code
Header class:
public class JPdfSelectionTableRowHeader extends JTable {
private static final long serialVersionUID = 9074507882735673054L;
private JTable mainTable;
public JPdfSelectionTableRowHeader(JTable table){
super();
mainTable = table;
setAutoCreateColumnsFromModel(false);
setModel(mainTable.getModel());
setAutoscrolls(false);
setFocusable(false);
setRowSelectionAllowed(false);
addColumn(new TableColumn());
getColumnModel().getColumn(0).setCellRenderer(getDefaultRenderer(Integer.class));
getColumnModel().getColumn(0).setPreferredWidth(20);
setPreferredScrollableViewportSize(getPreferredSize());
public boolean isCellEditable(int row, int column){
return false;
public Object getValueAt(int row, int column){
return new Integer(row + 1);
public int getRowHeight(int row){
return mainTable.getRowHeight();
public boolean isFocusTraversable(){
return false;
}and how i'm using it:
JViewport viewPort = new JViewport();
viewPort.setView(new JPdfSelectionTableRowHeader(mainTable));
tableScrollPane.setRowHeader(viewPort);Thank youWell it looks like you copied my "Line Number Table" (without the spaces) example, which works fine for me.
I have no idea why your code won't work given that the code you posted is not compileable and therefore not executable.
Maybe you are looking for
-
Error Posting IDOC: need help in understanding the following error
Hi ALL Can you please, help me understand the following error encountered while the message was trying to post a IDOC. where SAP_050 is the RFC destination created to post IDOCs <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Call Ad
-
I cant open my itunes it says an error has made an attempt to load the C runtime library
i can't open my itunes it says an error has made an attempt to load the C run time library.I reinstalled itunes but still pop up the message.
-
Problem with esign - just changed Adobe DC ID
Everything was working fine on ipad and iphone for esign and Pro DC. Then I needed to change my email for the esign to use. So I changed by Adobe User ID to the email I need to use from now on out. Once I have verified the email and logged back in th
-
Problems using CVS with Jdeveloper - Project
I have Jdeveloper on Windows 2000 and CVS repository on unix. I am using wincvs. In the documentation it mentions that I have to create a new project on JDeveloper and then import that project in CVS. But if I already have files in CVS then how can I
-
Create,move Oracle Retail Merchandising system Database users to IOD
Hi All, RMS v12.0.6; OS: AIX 5.3 64 bit Could anyone please let me know the following: 1.What's the process to create,move Oracle Retail Merchandising system Database users to IOD? 2.In R12, is "appsweb.cfg" located in FORMS_WEB_CONFIG_FILE is used f