Good afternoon,
thank's for all your help, now j'm here for another 2 (easy) questions !
1) there's a way to store in memory a range of selected cells (like InsertAndCopyRange procedure) in order to paste this range in a second time ?
2) there's a way to fix a row in order to get, in printing procedure, the same first row in each sheet ?
Thank's for your help
Best regards
Daniele
Hi,
Hi Adrian,
thank's for you suggestion.
Now a new one on insertcopyrange (again).
With TRangeCopyMode j have this
- All
- OnlyFormulas
- None
- OnlyFormulasAndNoObjects
- AllIncludingDontMoveAndSizeObjects
- Formats
here new one that is missing
- OnlyText
Where j copy just text (without format, style, font type, color ecc.....)
Thank's for all
Ciao
Daniele
Indeed, only text would be an interesting option. I just wonder how it would be implemented, since just copying the values is not probably what an user would expect.
Hi Adrian,
wow ... your reply is so fast .... very fast !!!
> Indeed, only text would be an interesting option
Yes ... but is not so easy ....
> For example, imagine you have the date 1/1/2000
This is the second (ops ... j forgot the counter) problem !!!
Yes the date !!!!
J got via e-mail one Excel file with one column indicated with "minimum expired date" and the cells value are
apr-15
mag-15
gen-15
set-14
or
04 2015
05 2015
01 2015
09 2014
My work on this file is change the code column in order to be the first one, and change the price column in order to be the second one.
After, j compare all the Excel files and all the rows (for each file) with the highest price for the same code are deleted.
After that .... reload the new Excel file and .... surprise !!!!
The column with the date are changed ... and the new values are
42095 (for apr-2015 or 04 2015)
21125 (for mag-2015 or 05 2105)
and so on ....
J have to consider that this column is not an optional one, but it must be declared and,
dependig from the operator's persaonl daily humor, the date will have different format (31/04/2015 or 04/2015 or aprile 2015 or apr 2015 or apr-2015 or any Others)
J though to remove the column .... but is not a great idea !!!! because this date indicate the minimum date validity for the good(s).
So, once more j'm here to ask your help for this matter !!! (not so easy .....)
One way is read all the cells of the good row (not deleted) and detect the date, convert it in string and reset the cell with a new string.
The problem is .... which is the correct cell ??? due the fact that the row contain minimum 12 cells and more then 6 have numeric value (as the date is) ?
Too crazy !!!
Now j give you all the time you need to drink a good cup of coffe after readed this message.
Thank's for your patience
Ciao
Daniele
PS: Just for change the matter ..... any idea on how to read aqcobol database (called file system).
Ok, j will post a new post in the correct forum ....
OK, here the second cup of coffe !!!!
Hi,