LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default make macro change (delete) its own code

Hi,

quick question:

Can I make a macro manipulate it's own code?

In particular, I am trying to write a macro that deletes a particula
line (let's say the 5th) from its own code after it has been executed.

Actually, it would be even better if it just deleted some character
from tha row (e.g., character 15 to 20). Or substitute the row with st
else. Or sybstitute a certain word in the row with another. You get th
picture...

Any help appreciated, as always!

a

--
Message posted from http://www.ExcelForum.com

 
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 code to delete conditional formatting Bovine Jones Excel Discussion (Misc queries) 5 October 19th 06 08:39 AM
how do i change or make this macro??? pictures and code included dispelthemyth Charts and Charting in Excel 0 March 17th 06 01:02 AM
Delete VBA code in worksheet through a macro Chip Pearson Excel Programming 1 July 23rd 04 09:35 AM
Delete VBA code in worksheet through a macro Ken Wright Excel Programming 0 July 22nd 04 08:59 PM
Change code to make worksheets instead of workbooks mikeb1[_4_] Excel Programming 3 December 15th 03 03:23 PM


All times are GMT +1. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"