Results for "text align right"

2 results for this search

Welcome enerkey !

Is it possible to get your excel file, if possible a simplified one that show the problem you encountered ?

I have been faced the same excel issue. I could not text align to the right in my excel sheet. I got the solution when I change my code. But I have been faced another excel problem because sometimes

. So excel users also got the error.

May be it depends on your web browser or mail application.

So try this

                             StrBody:="<H3 align= right><B>in honor of " & SendTo & "</B></H3>" & _
                                      "<p align= right>TEXT TEXT TEXT TEXT </p>" & _
                                      "<br/><p align= right>End of TEXT</p>"

This is the result

two things:

The first, variable "sendTo" goes down a line, it should be in the first row.

Second, except for the first line the rest of the text is still on the left.

Begins to despair.

Attached print screen

Thank you

9prtsc-mail.docx (218.97 KB)

Sorry, i add </p> at the last time with a mistake !!

unfortunately the code not compile.

can you add the file that you work on

For me, with light changes ...

                            StrBody:="<H3 align= right><B>in honor of</B></H3><p align= right>" & SendTo & </p> _
                                      "<body align= right>TEXT TEXT TEXT TEXT " & _
                                      "<br><br>" & "End of TEXT</body>"

works well

Nevertheless I have not an hebrew keyboard to test completely.

good morning Steelson and else

I join a file

be attention that the first row align to the right,

and the "SendTo" variable need to be in the same row

The name of the macro :"RDB_Worksheet_Or_Worksheets_To_PDF_And_Create_Mail"

The relevant line of code is in line 59

TY again

Try this

StrBody:="<H3  align="right"><B> in honor of </B></H3><p  align=""right"">" & SendTo & "</p>" _
"<p  align=""right"">TEXT TEXT TEXT TEXT " & "</p>" _
"<p  align=""right"">" & "End of TEXT </p>"

If it doesn't work, please join a light copy of your excel file.

HII Steelson,

first TY

Unfortunately I was unable to complete what you recommended (I only succeeded on the title).

I would be happy if you could fix it.

StrBody:="<H3><B> in honor of </B></H3><br>" & SendTo & _

"<body>TEXT TEXT TEXT TEXT " & _

"<br><br>" & "End of TEXT </body>"

SendTo a variable

Hello kobibh2

For each paragraph, use this sentense instead of <br>

Don't forget to terminate with </p>

<p align="right">This is some text in a paragraph.</p>

Hope this will help you.

Hello everyone

I have a VBA code for sending an Excel sheet as a PDF.

To the file I add text.

I have a problem with the text because I need it to be on the right (Hebrew language).

After an extensive search on the Internet I did not find a solution.

I would appreciate your help,

Kobi

That's part of the code:

SendTo = ActiveSheet.Cells(3, 3)

    If FileName <> "" Then
        RDB_Mail_PDF_Outlook FileNamePDF:=FileName, _
                             StrTo:=ActiveSheet.Cells(47, 3), _
                             StrCC:="", _
                             StrBCC:="", _
                             StrSubject:="שכר עידוד", _
                             Signature:=True, _
                             Send:=False, _
                             StrBody:="<H3><B>...לכבוד</B></H3><br>" & SendTo & _
                                      "<body>מצורף דוח שכר עידוד לעיונך" & _
                                      "<br><br>" & "בברכה תחום שכר עידוד</body>"
15doc1.docx (267.63 KB)

Re,

A Power Query proposal to study.

Regards.

15book3.xlsx (41.56 KB)

Jean-Eric

I love you, I love you, I love you...

Thank very much.

Much thanks to you and your patience, working with me especially with my English language.

You should become my excel teacher.

Greatly appreciated

Thank you again. God Bless You.

Hello Jean-Eric,

Thank you for your swift response.

Please view the sample file below.

Please note: the raw data is on cell "A1" and

The extracted data example is on cell "N" and cell "O"

There are many excel workbook I need to extract data.

How can I create a universal code to extract each one.

Thanks in advance. Greatly appreciated.

9book3.xlsx (24.09 KB)

Hello,

Please attach a small file at your request.

Regards

Hello Fans.

Currently I have Many Raw Data as an example below to section out.

What's beautiful, all the following data are similar:

Here is an example in row "1", in column "A" only :

0: {c: 9, close: 9, yield: null, referenceDate: null, date: "1997-03-01T00:00:00", …}

In this Case: How can I Keep the values of The following:

9 1997-03-01

I have multiple data similar like above. The comparison with the others are, values and dates.

What is the effective way to get the data?

Or what code can I use? How do you want me to proceed?

Thanks in advance