#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Macros

Hiya


I am trying to conect a macro to a check box but I want the macro to go to
the next free line on a certain workbook page, how do I do this? Or do you
know of an alternative to automatically take data from one sheet to another
if a cell says a certain thing?

Thanks

Angi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Macros

This could be incorporated into a worksheet_change event within the sheet
module to make it truly automatic.
sub copyif()
if range("a2")="move" then range("a3").copy sheets("sheet2").range("a3")
end sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Hentzer" wrote in message
...
Hiya


I am trying to conect a macro to a check box but I want the macro to go to
the next free line on a certain workbook page, how do I do this? Or do
you
know of an alternative to automatically take data from one sheet to
another
if a cell says a certain thing?

Thanks

Angi


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Macros

Sorry but thats doesnt make much sense to me, I need it to come from a check
box i.e when I check a certain box it jumps to next free row on a certain
worksheet, can I also point out I am using excel 2000, p**p I know but its
all I got at present ;oD

"Don Guillett" wrote:

This could be incorporated into a worksheet_change event within the sheet
module to make it truly automatic.
sub copyif()
if range("a2")="move" then range("a3").copy sheets("sheet2").range("a3")
end sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Hentzer" wrote in message
...
Hiya


I am trying to conect a macro to a check box but I want the macro to go to
the next free line on a certain workbook page, how do I do this? Or do
you
know of an alternative to automatically take data from one sheet to
another
if a cell says a certain thing?

Thanks

Angi



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
Excel 2007 macros - how to merge 5 macros together into one Sue Excel Discussion (Misc queries) 1 April 16th 08 08:36 PM
Macros warning always shows up, even if all macros removed Joe M Excel Discussion (Misc queries) 1 December 20th 07 04:45 AM
Macros - copying macros from one computer to another TT Excel Discussion (Misc queries) 18 December 14th 06 03:24 AM
"openinf file..."ENABLE MACROS...DISABLE MACROS" F. Lawrence Kulchar Excel Discussion (Misc queries) 3 September 12th 06 10:33 AM
Training: More on how to use macros in Excel: Recording Macros ToriT Excel Worksheet Functions 2 February 10th 06 07:05 PM


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