Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Macros - Go to next cell


good day...
i need help on this macro thingy!

i'm importing data from a .txt file that will be in sheet 1. This set of
data will always be changing.

from there, i need to copy dates and figures to sheet 2 with formulas.

1) for a date in sheet 1, say cell C3, how do i create a macro that will
paste to sheet 2 cell A6 and go to the next empty cell?

2) and from the next empty cell, repeat point 1 and go to the next empty
cell and so on...

Can we do this without using Visual Basic??

thks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 230
Default Macros - Go to next cell

nana,

If I'm reading this right all you need are some simple formulas. With what
you have given, place this formula in A6 of sheet 2.
=Sheet1!C3
Then copy down as far as needed. Do similar for the other data.
If Sheet1 is not the name of the sheet you'll need to change that of course.

Rob


"nana" wrote in message
...

good day...
i need help on this macro thingy!

i'm importing data from a .txt file that will be in sheet 1. This set of
data will always be changing.

from there, i need to copy dates and figures to sheet 2 with formulas.

1) for a date in sheet 1, say cell C3, how do i create a macro that will
paste to sheet 2 cell A6 and go to the next empty cell?

2) and from the next empty cell, repeat point 1 and go to the next empty
cell and so on...

Can we do this without using Visual Basic??

thks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Macros - Go to next cell

Hi rob.. thks! i've tried. it does go to the next cell down but when i change
the data in sheet 1, i need it to go again to the next cell down. it has to
continue to go to the next cell down as new data will be filled in each row.

nana.




"RobN" wrote:

nana,

If I'm reading this right all you need are some simple formulas. With what
you have given, place this formula in A6 of sheet 2.
=Sheet1!C3
Then copy down as far as needed. Do similar for the other data.
If Sheet1 is not the name of the sheet you'll need to change that of course.

Rob


"nana" wrote in message
...

good day...
i need help on this macro thingy!

i'm importing data from a .txt file that will be in sheet 1. This set of
data will always be changing.

from there, i need to copy dates and figures to sheet 2 with formulas.

1) for a date in sheet 1, say cell C3, how do i create a macro that will
paste to sheet 2 cell A6 and go to the next empty cell?

2) and from the next empty cell, repeat point 1 and go to the next empty
cell and so on...

Can we do this without using Visual Basic??

thks




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Macros - Go to next cell

nana

Rob meant for you to copy the formula down the column as far as you wish.

His formula will give you a column of zeros until data is entered in Sheet1

Try this to get rid of the zeros.

=IF(Sheet1!C3="","",Sheet1!C3) in A6 of Sheet2

Click on the black square at bottom right corner of A6 and drag down as far as
you wish.


Gord Dibben MS Excel MVP

On Sat, 20 Oct 2007 00:33:06 -0700, nana wrote:

Hi rob.. thks! i've tried. it does go to the next cell down but when i change
the data in sheet 1, i need it to go again to the next cell down. it has to
continue to go to the next cell down as new data will be filled in each row.

nana.




"RobN" wrote:

nana,

If I'm reading this right all you need are some simple formulas. With what
you have given, place this formula in A6 of sheet 2.
=Sheet1!C3
Then copy down as far as needed. Do similar for the other data.
If Sheet1 is not the name of the sheet you'll need to change that of course.

Rob


"nana" wrote in message
...

good day...
i need help on this macro thingy!

i'm importing data from a .txt file that will be in sheet 1. This set of
data will always be changing.

from there, i need to copy dates and figures to sheet 2 with formulas.

1) for a date in sheet 1, say cell C3, how do i create a macro that will
paste to sheet 2 cell A6 and go to the next empty cell?

2) and from the next empty cell, repeat point 1 and go to the next empty
cell and so on...

Can we do this without using Visual Basic??

thks





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
Assigning Macros to Run from a Cell Brendan Vassallo Excel Discussion (Misc queries) 1 February 12th 07 06:08 AM
cell references in macros Dave F Excel Discussion (Misc queries) 3 November 28th 06 05:19 PM
Macros in a cell function Redragon Excel Worksheet Functions 14 April 30th 06 02:00 PM
Copying data from another cell, I think there are macros sami123 Excel Discussion (Misc queries) 1 August 11th 05 02:41 PM
Automate a macros when data in a cell changes (e.g.when using quer jwwjd Excel Discussion (Misc queries) 5 June 24th 05 03:06 PM


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