#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default 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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default 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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "Excel encountered an error and had to remove some formatti Carl Excel Discussion (Misc queries) 0 September 18th 06 06:39 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
I have Error 1919 Error Configuring ODBC dataSource Database Texanna1 Excel Discussion (Misc queries) 1 September 12th 06 06:35 AM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"