LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default special characters from vba

Pedro,
Whilst it may involve some practice, trial/error, help etc, it is better to
use the tools that is suitable (Excel in case), rather than make life more
difficult for yourself in the long run.
You can (normally) record your required action in macro and although the
code is not the most efficient, you will get a good idea of what is needed.

Post back with another if (when) you need more help.

NickHK

"Pedro Leite" <naoehpreciso wrote in message
...
well, you're right but i kinda do this for self training.

from excel i would have to build a new sheet with the layout and stuff.

lets
just say that by doing this, i've learnt a few new things in office
automation.

thank you

Pedro Leite
--------------------------------------------------------------------------

-----
"NickHK" escreveu na mensagem
...
Pedro,
But why not just print from Excel ? That is the easiest solution.

NickHK

"Pedro Leite" <naoehpreciso wrote in message
...
hi.

hmmm, lets say that my skills on "piloting" word from excel using vba

are
not very deep to say the least.
i found the ascii approach simple and sufficient for my purpose. this

report
is just a summary of orders to be printed on completion and filed
together
with the original po. in the mean time, i fiddled a bit with tables but
if

i
can make the report neater with the ascii chars i would call it closed.

anyway, thank you for your suggestion that ill pursuit. if not for

other
reason, to learn. otoh, if you know how to force those special
characters,
it would be nice.

thank you in advance

Pedro Leite


-------------------------------------------------------------------------

-
-----------------------------
"NickHK" escreveu na mensagem
...
Pedro,
Why not use the capability of Word and insert a table .
Or do you need to use ASCII characters for some reason ?

NickHK

"Pedro Leite" <naoehpreciso
bl...
Good Morning

I have a bit of code that opens a new word doc, fill the document

with
excel data, prints, close and so on
the thing is, the document is tabular and is limeted in row and
columns
with " - " and " | "

example : ( make the window larger to fit )

now what i want is to use the box drawing characters available in

the
extended ascii table ( corners, junction lines and so on ) asc 186 ,

205
and some others.

the font used is courier new and has a sub set, called box drawing
that
has these caracters. how can i use them ??

thank you

Pedro Leite from Portugal.







------------------------------------------------------------------------

-
------------------------------------------------

|Preto 800 |

|Nec- 775,0|Stk- 162,0|Enc- 613,0|Est- -55,0|Rec-
558,0|Csm- 720,0|Exc- 0,0|Sob- 0,0|

|Nec- 47,0|Stk- 64,0|Enc- -16,0|Est- 46,0|Rec-
30,0|Csm- 94,0|Exc- 49,0|Sob- 0,0|



|---------------------------------------------------------------------------
--------------------------------------------|

| |



|---------------------------------------------------------------------------
--------------------------------------------|

| |



|---------------------------------------------------------------------------
--------------------------------------------|

| |



|---------------------------------------------------------------------------
--------------------------------------------|

| |



|---------------------------------------------------------------------------
--------------------------------------------|

| |



|---------------------------------------------------------------------------
--------------------------------------------|

| |



------------------------------------------------------------------------

-
------------------------------------------------














 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
special Characters P. Zicari Excel Discussion (Misc queries) 2 October 22nd 07 04:09 PM
Special Characters aftamath Excel Discussion (Misc queries) 1 October 18th 05 11:02 PM
Special characters Matthew S Excel Discussion (Misc queries) 10 September 24th 05 12:36 AM
special characters tjh Excel Worksheet Functions 3 May 13th 05 10:50 PM
Special characters Gilles Desjardins Excel Worksheet Functions 2 December 8th 04 04:17 AM


All times are GMT +1. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"