Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Finding next available empty cell in a row

I'm having to transpose a lot of data that are currently arranged in rows to
columns, it's the output of a 1:m data table.

I can't quite find the right syntax that activates the next available cell
in a row above.

Many thanks

Wendy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Finding next available empty cell in a row

Set the start to the first cell to analyze. This will find the next
available cell in the same column.

Set thecurrentcell = Worksheets("XXXX").Range("XXX")

Do While thecalcedcell.Value < 0
Set thecalcedcell = thecalcedcell.Offset(1, 0)
Loop


"Wendy" wrote:

I'm having to transpose a lot of data that are currently arranged in rows to
columns, it's the output of a 1:m data table.

I can't quite find the right syntax that activates the next available cell
in a row above.

Many thanks

Wendy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Finding next available empty cell in a row


NextFree = Activecell.Offset(-1,0).End(xlToRight)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Wendy" wrote in message
...
I'm having to transpose a lot of data that are currently arranged in rows

to
columns, it's the output of a 1:m data table.

I can't quite find the right syntax that activates the next available cell
in a row above.

Many thanks

Wendy



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Finding next available empty cell in a row

awesome,

thanks gentlemen, i'm sure i can figure it out from here! who knew?

-m

"Bob Phillips" wrote:


NextFree = Activecell.Offset(-1,0).End(xlToRight)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Wendy" wrote in message
...
I'm having to transpose a lot of data that are currently arranged in rows

to
columns, it's the output of a 1:m data table.

I can't quite find the right syntax that activates the next available cell
in a row above.

Many thanks

Wendy




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
Finding First Empty Cell in a Column TomHull Excel Discussion (Misc queries) 5 November 9th 09 01:19 AM
Finding First Empty Cell in a Column TomHull Excel Discussion (Misc queries) 0 November 9th 09 12:21 AM
Finding the first empty cell in a column Tegger Excel Programming 5 January 7th 06 12:12 AM
automatically finding the first empty cell Markus Scheible Excel Programming 4 January 17th 05 02:32 PM
Finding the next empty cell. Unknown_User[_3_] Excel Programming 10 May 19th 04 02:45 PM


All times are GMT +1. The time now is 03:33 PM.

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"