Tricks for Excel / Trucos para Excel

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

Post Reply
User avatar
koke
Posts: 116
Joined: Wed Aug 21, 2013 3:54 pm
DBs Used: DBF, mySql, mariaDB

Tricks for Excel / Trucos para Excel

Post by koke »

Hola.
Estoy generando un programa que requiere funciones de impresión en Excel muy específicas, estuve investigando tanto aquí como en Harbour Users y creo que sería una buena idea postear un ejemplo con lo que aprendí para que pueda ser de su ayuda en caso de requerirlo.
Saludos.

****Translate by Google
Hi.
I am generating a program that requires very specific Excel printing functions, I was researching both here and in Harbor Users and I think it would be a good idea to post an example with what I learned so that I can be of your help if you require it.
Greetings.
EjemploExcel.zip
Compilado con HMG 3.4.3
(16.16 KiB) Downloaded 424 times
,___,
[O.o]
/)__)
-”–”-
KoKe
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Tricks for Excel / Trucos para Excel

Post by luisvasquezcl »

Hola Koke,
Muchas gracias por tu aporte, será muy útil para todos.
Saludos cordiales,
Luis Vasquez.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Tricks for Excel / Trucos para Excel

Post by Rathinagiri »

Really wonderful! I think I can use this code for GridPlus to export to Excel. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Tricks for Excel / Trucos para Excel

Post by serge_girard »

Thanks Koke !

Serge
There's nothing you can do that can't be done...
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Tricks for Excel / Trucos para Excel

Post by ASESORMIX »

Muchas Gracias por tu Aporte. Excelente !

Una Pregunta:
¿ Hay alguna manera de aplicar la opcion de "Texto en Columna" ?.
Es decir, convertir toda una columna que contiene en cada celda valores numericos pero en tipo caracter
y se requiere convertirla a valores de tipo numerico.
He investigado en VBA pero no tengo ni idea para traducirla y usarala en una aplicacion que estoy desarrollando.
Si alguien ya lo tiene o tiene alguna idea como expresarla le agradezco su ayuda.
Gracias.


Google Translate

Thank you very much for your contribution. Excellent !

A question:
       Is there a way to apply the "Text in Column" option?
      That is, convert a whole column containing in each cell numeric values but in type character
And is required to convert to numerical values.
         I have researched in VBA but I have no idea to translate it and use it in an application that I am developing.
         If someone already has it or has any idea how to express it I thank you for your help.
         Thank you.
User avatar
koke
Posts: 116
Joined: Wed Aug 21, 2013 3:54 pm
DBs Used: DBF, mySql, mariaDB

Re: Tricks for Excel / Trucos para Excel

Post by koke »

ASESORMIX wrote:Muchas Gracias por tu Aporte. Excelente !

Una Pregunta:
¿ Hay alguna manera de aplicar la opcion de "Texto en Columna" ?.
Es decir, convertir toda una columna que contiene en cada celda valores numericos pero en tipo caracter
         Thank you.
Bueno días.
Si te fijas en la columna 5 el valor numérico esta personalizado para llenar con ceros cualquier número que no contenga 5 caracteres esto es parecido a texto.
Otra manera en la que he logrado que un número aparezca como carácter es aplicando una comilla sencilla antes del mismo, y puede ser sumado en caso de ser necesario.
Espero que esto te ayude.
Saludos.

Translate by google
Good morning.
If you look at column 5 the numeric value is customized to fill with zeroes any number that does not contain 5 characters this is similar to text.
Another way I have made a number appear as a character is by applying a single quote before it, and can be added if necessary.
I hope this helps.
Greetings.
,___,
[O.o]
/)__)
-”–”-
KoKe
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Tricks for Excel / Trucos para Excel

Post by Steed »

Gracias
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Tricks for Excel / Trucos para Excel

Post by ASESORMIX »

La recomendacion das es muy valiosa y de gran ayuda para mi.
Gracias.
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Tricks for Excel / Trucos para Excel

Post by ASESORMIX »

La recomendacion dada es muy valiosa y de gran ayuda para mi.
Gracias.
Post Reply