Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Self editing code..?

Hello! I am writing a macro that lets the user construct reports. For example
the user shall be able to change default settings for e.g. charts and other
things. Is it possible to write code so that the macro can read e.g. inputs
in a text field and then somehow change code accordingly?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Self editing code..?

It would be better to uses variable values to control your code, but you can
write code with code

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

Don't try to modify the same code that is running.

--
Regards,
Tom Ogilvy


"Arne Hegefors" wrote:

Hello! I am writing a macro that lets the user construct reports. For example
the user shall be able to change default settings for e.g. charts and other
things. Is it possible to write code so that the macro can read e.g. inputs
in a text field and then somehow change code accordingly?

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
Need help editing this code James Excel Discussion (Misc queries) 8 September 19th 08 05:18 PM
Editing VB Code with VB Simon Shaw Excel Programming 2 July 25th 05 07:41 PM
stubborn Excel crash when editing code with code, one solution Brian Murphy Excel Programming 0 February 20th 05 05:56 AM
Editing Code - Help!!! Gordon[_12_] Excel Programming 1 August 16th 04 08:13 PM
Editing Code - Help!!! Gordon[_12_] Excel Programming 1 August 16th 04 08:13 PM


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