ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do i convert selection.end(xldown) to use in Progress (https://www.excelbanter.com/excel-programming/375744-how-do-i-convert-selection-end-xldown-use-progress.html)

willis

how do i convert selection.end(xldown) to use in Progress
 
recording a macro, with the following, range(selection,
selection.end(xldown)).select I need to convert to use in a Progress program.
I came up with the following, but it gets an error on the xldown.

x1app:range(x1app:SELECTION, x1app:SELECTION:END(XlDown)):SELECT.


Tom Ogilvy

how do i convert selection.end(xldown) to use in Progress
 
maybe replace the xldown with it value as seen he

? xldown
-4121

--
Regards,
Tom Ogilvy


"Willis" wrote:

recording a macro, with the following, range(selection,
selection.end(xldown)).select I need to convert to use in a Progress program.
I came up with the following, but it gets an error on the xldown.

x1app:range(x1app:SELECTION, x1app:SELECTION:END(XlDown)):SELECT.


willis

how do i convert selection.end(xldown) to use in Progress
 
Thanks Tom! That seems to work. Where do i find values for other codes, such
as xlByRows.. etc.?

"Tom Ogilvy" wrote:

maybe replace the xldown with it value as seen he

? xldown
-4121

--
Regards,
Tom Ogilvy


"Willis" wrote:

recording a macro, with the following, range(selection,
selection.end(xldown)).select I need to convert to use in a Progress program.
I came up with the following, but it gets an error on the xldown.

x1app:range(x1app:SELECTION, x1app:SELECTION:END(XlDown)):SELECT.


Tom Ogilvy

how do i convert selection.end(xldown) to use in Progress
 
In the object browser in the xlVBE or go to the immediate window like I
demonstrated.

--
Regards,
Tom Ogilvy



"Willis" wrote:

Thanks Tom! That seems to work. Where do i find values for other codes, such
as xlByRows.. etc.?

"Tom Ogilvy" wrote:

maybe replace the xldown with it value as seen he

? xldown
-4121

--
Regards,
Tom Ogilvy


"Willis" wrote:

recording a macro, with the following, range(selection,
selection.end(xldown)).select I need to convert to use in a Progress program.
I came up with the following, but it gets an error on the xldown.

x1app:range(x1app:SELECTION, x1app:SELECTION:END(XlDown)):SELECT.



All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com