Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I want to run a macro when i press return

I have set up a tiny spreadsheet to print barcodes to an ASCII printer.
To make life simpler for the people that use it, I want to be able to run
the print macro when they press enter in the barcode number cell. What would
be the simplest way of doing this.

The Concrete Hippo

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default I want to run a macro when i press return

Use the change event.

See Chip Pearson's page for an overview of events:

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Concrete Hippo" wrote in message
...
I have set up a tiny spreadsheet to print barcodes to an ASCII printer.
To make life simpler for the people that use it, I want to be able to run
the print macro when they press enter in the barcode number cell. What

would
be the simplest way of doing this.

The Concrete Hippo



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I want to run a macro when i press return

Thanks,
Very helpful, now to try and put it into practice.


"Tom Ogilvy" wrote:

Use the change event.

See Chip Pearson's page for an overview of events:

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Concrete Hippo" wrote in message
...
I have set up a tiny spreadsheet to print barcodes to an ASCII printer.
To make life simpler for the people that use it, I want to be able to run
the print macro when they press enter in the barcode number cell. What

would
be the simplest way of doing this.

The Concrete Hippo




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
Excell spreadsheet- press return on line and it keeps tabbing Lise Excel Discussion (Misc queries) 1 September 30th 08 07:35 PM
Press enter to return to first column Sarah Excel Discussion (Misc queries) 4 September 24th 08 01:57 AM
excel to return system time when I press combination of keys Nagendra Excel Worksheet Functions 2 September 25th 07 10:38 PM
IN EXCEL WHEN I PRESS RETURN THE CURSOR GOES UP NOT DOWN PAUL Excel Discussion (Misc queries) 2 September 11th 05 12:01 PM
Excel 2000 VLOOKUP returns #N/A unless press F2 return on source? Colin Excel Worksheet Functions 3 August 31st 05 01:10 PM


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