Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Select next blank cell in column, before running macro

Keeping in mind, Im a rookie...

Hello All,
I have a spreadsheet that tracks how many estimates our department does with
other pertinent data
The macro I recorded opens a text file formats it with text to column and
then copies specific cells and pastes them to one row (11 consecutive cells)
Is there a way to have the macro select the next blank cell in column "A"
before starting executing the rest of the macro?

Thnx,
BadRasta

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Select next blank cell in column, before running macro

add

range("A1").end(xldown).offset(1).select

to just before the paste section.

it would be easier to say where if you showed your code.

"BadRasta" wrote in message
...
Keeping in mind, Im a rookie...

Hello All,
I have a spreadsheet that tracks how many estimates our department does
with
other pertinent data
The macro I recorded opens a text file formats it with text to column and
then copies specific cells and pastes them to one row (11 consecutive
cells)
Is there a way to have the macro select the next blank cell in column "A"
before starting executing the rest of the macro?

Thnx,
BadRasta

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
Want to check if cell is blank before running macro Munchkin Excel Programming 5 June 3rd 09 11:59 PM
Select Cell in first blank column of a row dhunter43 Excel Programming 2 October 17th 07 11:20 PM
Select all cells in a column up to a blank cell nemadrias Excel Programming 2 June 28th 06 09:02 PM
I want to select the first blank cell in column A Greegan Excel Worksheet Functions 7 March 13th 05 12:56 PM
Can't select another cell after running a macro.... John[_49_] Excel Programming 1 September 23rd 03 10:01 PM


All times are GMT +1. The time now is 05:10 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"