Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Macro-insert text(personal comment)

Hi, is there anyway i can insert personal text(ideas) in a macro?
Ex:
.......Here begins date macro.............
MACRO
.......Here it ends..................

.......Here begins copy/paste macro......
MACRO
.......Here it ends.........

Can this be done?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Macro-insert text(personal comment)

Use a single quote before your comment

'Here begins date macro

It will show in Green

you must enter the single quote on each line of code that has a comment.

"puiuluipui" wrote:

Hi, is there anyway i can insert personal text(ideas) in a macro?
Ex:
......Here begins date macro.............
MACRO
......Here it ends..................

......Here begins copy/paste macro......
MACRO
......Here it ends.........

Can this be done?
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Macro-insert text(personal comment)

Works perfect!
Thanks!

"Sean Timmons" wrote:

Use a single quote before your comment

'Here begins date macro

It will show in Green

you must enter the single quote on each line of code that has a comment.

"puiuluipui" wrote:

Hi, is there anyway i can insert personal text(ideas) in a macro?
Ex:
......Here begins date macro.............
MACRO
......Here it ends..................

......Here begins copy/paste macro......
MACRO
......Here it ends.........

Can this be done?
Thanks!

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
macro to insert a comment driller Excel Worksheet Functions 0 February 8th 07 10:22 PM
Need a macro to insert text in a cell that already has text.Excel go1angel Excel Discussion (Misc queries) 2 October 5th 05 10:32 PM
macro to insert row after specific text Luke Excel Discussion (Misc queries) 2 September 19th 05 04:06 PM
Personal macro workbook and personal.xls John Kilkenny Excel Discussion (Misc queries) 1 June 14th 05 09:43 PM
How do I insert a comment when the Insert:Comment menu is greyed? none Excel Discussion (Misc queries) 0 May 19th 05 12:36 AM


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