Search found 26 matches: displayalerts

Return to advanced search

Re: Inmovilizar filas en excel

if (oExcel:=ExcelObj())== nil
mensaje('Excel no esta instalado!!')
endif

oExcel:ScreenUpdating := .f.
oExcel:Application:DisplayAlerts:=.f.
..
..
..

// Congelamos encabezado
oWin := oExcel:ActiveWindow
oWin:SplitRow := 7
oWin:FreezePanes := .t.

Saludos
Joel Andujo
by Joel Andujo
Mon Jan 03, 2022 8:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inmovilizar filas en excel
Replies: 2
Views: 297

Re: Mensaje Error importando SLK

Buenas de nuevo

Ya esta solucionado

No localizo donde puede estar el error pero eliminado el mensaje, como dije anteriormente todo va perfectamente.

oExcel:DisplayAlerts:=.F.

Saludos
by JoseLuis
Sat Jul 25, 2020 10:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mensaje Error importando SLK
Replies: 1
Views: 236

EXCEL - Desalineado con la ventana.

... /*********************************************/ static procedure OnInitExcel(oExcel) /* */ SetWindowLong(oExcel:hWnd,-16,"L") oExcel:DisplayAlerts := .F. oExcel:ActiveWorkBook:Protect('',.f.,.f.) //Para poder manupilar el estado de la venta del libro oExcel:WindowState := -4137 //Se ...
by MGA
Mon Oct 03, 2016 1:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCEL - Desalineado con la ventana.
Replies: 11
Views: 2643

Re: Colocar Excel/Word en Aplicacion

... /*********************************************/ static procedure OnInitExcel(oExcel) /* */ SetWindowLong(oExcel:hWnd,-16,"L") oExcel:DisplayAlerts := .F. oExcel:ActiveWorkBook:Protect('',.f.,.f.) //Para poder manupilar el estado de la venta del libro oExcel:WindowState := -4137 //Se ...
by MGA
Sun Aug 28, 2016 9:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colocar Excel/Word en Aplicacion
Replies: 10
Views: 3154

Timer congelado

... esperando a que al objeto Excel se le indique la contraseña o se cancele, algo así: oexcel := CreateObject( "Excel.Application" ) oexcel:DisplayAlerts(.F.) ... olibro := oexcel:WorkBooks:Open(alltrim(fichero),.f.,.f.) ... Y cuando el libro tiene contraseña, el programa NO continúa despues ...
by Sebastián Almirón
Thu Nov 27, 2014 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Timer congelado
Replies: 7
Views: 853

Re: Saber Metodos de un CREATEOBJECT

... ) STDCALL dispatch FUNC void DeleteCustomList( [in] int ) STDCALL dispatch PROPERTYGET PTR Dialogs() STDCALL dispatch PROPERTYGET VARIANT_BOOL DisplayAlerts() STDCALL dispatch PROPERTYPUT void DisplayAlerts( [in] VARIANT_BOOL ) STDCALL dispatch PROPERTYGET VARIANT_BOOL DisplayFormulaBar() STDCALL ...
by Antonio Linares
Sun May 12, 2013 9:54 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32145

Re: Saber Metodos de un CREATEOBJECT

... PROPERTYPUT void DisplayAutoCompleteTips( [in] VARIANT_BOOL ) STDCALL dispatch PROPERTYGET PTR Options() STDCALL dispatch PROPERTYGET USERDEFINED DisplayAlerts() STDCALL dispatch PROPERTYPUT void DisplayAlerts( [in] USERDEFINED ) STDCALL dispatch PROPERTYGET PTR CustomDictionaries() STDCALL dispatch ...
by Antonio Linares
Sun May 12, 2013 9:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32145

Re: Open XLS (or XLSX) file and save it with password

Probably what you suggest will work either... but I used what " anserkk " suggested. and works Now I simply load XLS, then I use oExcel:DisplayAlerts := .F. Then I save the XLS back using a password parameter. The program doesn't complain about asking to overwrite, it just silently overwrite ...
by codemaker
Thu Jul 26, 2012 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open XLS (or XLSX) file and save it with password
Replies: 14
Views: 4019

Re: Open XLS (or XLSX) file and save it with password

codemaker wrote:
Gale FORd wrote:So I am back to square one. How can I avoid the program asking me if I want to overwrite the existing XLS.... ?

Try this and let us know
Code: Select all  Expand view
oExcel:DisplayAlerts := .F.

By assigning .F. to the property DisplayAlerts, Excel will execute the method without waiting for our confirmation.

Regards
Anser
by anserkk
Wed Jul 25, 2012 6:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open XLS (or XLSX) file and save it with password
Replies: 14
Views: 4019

Re: Unable to Delete Sheet in Excel File

... of for..next, @hmpaquito, I've inserted oExcel:Save() at the end before :quit() @Rao, Your statement is True, the DATA sheet has some data. The DisplayAlerts must required. #include 'fivewin.ch'#define GTI_CLIPBOARDDATA 15FUNCTION MAIN()   LOCAL oExcel, oSheet   LOCAL nRow, nSheets, ...
by dutch
Sun Sep 04, 2011 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unable to Delete Sheet in Excel File
Replies: 6
Views: 1340

Re: Unable to Delete Sheet in Excel File

... in xls file but after this method oExcel:WorkSheets( n ):Delete(). The DATA sheet is still exist in excel file. Please insert the statement oExcel:DisplayAlerts := .f. before deleting the sheet. I don't know what does it wrong? If the sheet is empty, delete works without any problem. But when the ...
by nageswaragunupudi
Fri Sep 02, 2011 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unable to Delete Sheet in Excel File
Replies: 6
Views: 1340

Error Excel

... xlistah) local aEstructura local nveces, N, oExcel, oWorkBook, xatt, oSheet oExcel := CREATEOBJECT( "Excel.Application" ) OEXCEL:DISPLAYALERTS=.F. oWorkBook := oExcel:WorkBooks:Add() oSheet := oExcel:ActiveSheet aEstructura:={} aadd(aEstructura,{"ART_CODIG","C",16,0}) ...
by diegopolverelli
Wed Jun 15, 2011 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Excel
Replies: 0
Views: 1255

Re: Excel en modo edición de celda

... que el usuario SAVE/EXIT de la Excel desde el menú de la propia Excel. Cuando no quiero que pregunte al cerrar la hoja, le pongo: oExcel:Set("DisplayAlerts", .f.) No sé si puede ayudarte, eliminar la opción para grabar la hoja desde la aplicación y obligar a que el usuario se pronuncie ...
by Manuel Valdenebro
Wed Mar 09, 2011 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Excel en modo edición de celda
Replies: 9
Views: 2498

Re: WORD Printout senza prompt

Oltre a DisplayAlerts non sono a conoscenza di altri modi. Sei sicuro di aver fatto la prova per bene? Magari mandami DOC e PRG per fare la prova qui. Enrico, l'esempio postato è completo! Devi solo selezionare una stampante ...
by Ugo
Fri Dec 31, 2010 11:57 am
 
Forum: All products support
Topic: WORD Printout senza prompt
Replies: 7
Views: 1690

Re: WORD Printout senza prompt

Oltre a DisplayAlerts non sono a conoscenza di altri modi. Sei sicuro di aver fatto la prova per bene? Magari mandami DOC e PRG per fare la prova qui.

EMG
by Enrico Maria Giordano
Tue Dec 28, 2010 7:40 pm
 
Forum: All products support
Topic: WORD Printout senza prompt
Replies: 7
Views: 1690
Next

Return to advanced search