Search found 159 matches

by acwoo1
Wed Jul 31, 2019 8:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Excel 2016
Replies: 0
Views: 452

Excel 2016

Hi #include "fivewin.ch" #include "FileXLS.ch" #include "XLSForm.ch" #include "XLSError.ch" #define BORDER_UP nOr( BORDER_TOP ) #define BORDER_DOWN nOr( BORDER_BOTTOM ) #DEFINE TRUE .T. #DEFINE FALSE .L. LOCAL nFormat,nFormat2,nFormat3,nFont1,nFont2,nFont3,oXL...
by acwoo1
Mon Jan 07, 2019 7:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1590

Re: How To Read From One Excel File And Write To Another

Thanks

Is there something like
File1:oSheetS1:Cells( 1, 1 ):Value=File2:oSheetS2:Cells( 1, 1 ):Value
File1:oSheetS3:Cells( 2, 1 ):Value=File2:oSheetS4:Cells( 2, 1 ):Value

?

Regards

ACWoo
Using FWH1510
by acwoo1
Tue Jan 01, 2019 8:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1590

Re: How To Read From One Excel File And Write To Another

Hi

How do I select worksheet "S1" of Excel File "WK1" and worksheet "S2" of Excel File "WK2" so that I can write certain values from S1 to S2 ?

Thanks

ACWoo
Using FWH1510
by acwoo1
Tue Jan 01, 2019 6:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1590

Re: How To Read From One Excel File And Write To Another

Thanks

How do I specify only certain worksheets in the files ?

Regards
ACWoo
Using FWH1510
by acwoo1
Tue Jan 01, 2019 2:39 am
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1590

How To Read From One Excel File And Write To Another

Hi How to read from one Worksheet in one excel file and write to another worksheet in another excel file. I am not able to write to worksheet S2. function test #define xlDouble -4119 LOCAL oExcel := CREATEOBJECT( "Excel.Application" ) LOCAL oSheet LOCAL oSheet2 subdirc3 = "WK2.xlsx&qu...
by acwoo1
Tue Jun 19, 2018 5:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: HYPERLINK
Replies: 9
Views: 1755

Re: HYPERLINK

Thanks

It works.

Regards.

ACWoo
by acwoo1
Sun Jun 17, 2018 10:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: HYPERLINK
Replies: 9
Views: 1755

Re: HYPERLINK

Hi

Thanks

I get :

Syntax error at 'SHEET1'

Regards

ACWoo
Bcc582
FWH
by acwoo1
Sun Jun 17, 2018 2:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: HYPERLINK
Replies: 9
Views: 1755

Re: HYPERLINK

Hi

=HYPERLINK("[C:\MyFolderName\MyExcelFile.xlsx]Sheet1-A!C5","CLICK HERE")

If the page (Sheet1-A) has a hyphen, the link is not valid. How to overcome this.

Thanks

Regards

ACWoo
Using bcc582
FWH
by acwoo1
Wed Jun 13, 2018 2:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: HYPERLINK
Replies: 9
Views: 1755

Re: HYPERLINK

Thanks

It works.

Regards

ACWoo
by acwoo1
Tue Jun 12, 2018 7:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: HYPERLINK
Replies: 9
Views: 1755

HYPERLINK

Hi

oSheet:Cells( 12,6 ):Value := '=HYPERLINK("c:\abc\TEST1.xlsx", "oExcel:Sheets(1):Select()" )'

How to hyperlink to sheet 1 of Test1


Thanks

Regards


ACWoo
Using bcc582 + FHW
by acwoo1
Mon Apr 30, 2018 12:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Underline
Replies: 2
Views: 459

Re: Underline

Thanks

It works.

Regards

ACWoo
Using FWH + bcc582
by acwoo1
Mon Apr 30, 2018 2:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Underline
Replies: 2
Views: 459

Underline

Hi

oSheet:Cells( 1, 5 ):Value="We hope this information will be as helpful to others as it was for me."

How to underline "this information" only in red ?

Regards

ACWoo
Using FHW + bcc582
by acwoo1
Mon Apr 30, 2018 1:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Colour
Replies: 2
Views: 435

Re: Colour

Thanks

It works.

Regards

ACWoo
by acwoo1
Sun Apr 29, 2018 12:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Colour
Replies: 2
Views: 435

Colour

Hi

oSheet:Cells( 5, 10 ):Value="*ABC"

How to say "*" in red and "ABC" in black.

Thanks

ACWoo
Using FWH + bcc582
by acwoo1
Thu Apr 26, 2018 5:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Write On EXCEL Page 2
Replies: 4
Views: 665

Re: Write On EXCEL Page 2

Thanks

It works.

Regards

AC Woo