ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Error (https://www.excelbanter.com/excel-discussion-misc-queries/149851-error.html)

M&M[_2_]

Error
 
Hello I posted this same question a while ago but I dont think it actually
got posted.
I have the following code:

Sheets("Output").Range("A1").End(xlDown) = " Final"

and it generates what I want except that I need it in the following row.

I tried:

Sheets("Output").Range("A1").End(xlDown-1) = " Final" but didnt work, how
do I do this?

Toppers

Error
 
try:

Sheets("Sheet1").Range("A1").End(xlDown).Offset(-1, 0) = " Final"

"M&M" wrote:

Hello I posted this same question a while ago but I dont think it actually
got posted.
I have the following code:

Sheets("Output").Range("A1").End(xlDown) = " Final"

and it generates what I want except that I need it in the following row.

I tried:

Sheets("Output").Range("A1").End(xlDown-1) = " Final" but didnt work, how
do I do this?


M&M[_2_]

Error
 
YEp it Works thanks!!



"Toppers" wrote:

try:

Sheets("Sheet1").Range("A1").End(xlDown).Offset(-1, 0) = " Final"

"M&M" wrote:

Hello I posted this same question a while ago but I dont think it actually
got posted.
I have the following code:

Sheets("Output").Range("A1").End(xlDown) = " Final"

and it generates what I want except that I need it in the following row.

I tried:

Sheets("Output").Range("A1").End(xlDown-1) = " Final" but didnt work, how
do I do this?



All times are GMT +1. The time now is 05:54 AM.

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