Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Removing a macro

Ok, so I inserted a macro that specifically formatted my printout of a range
of cells. I decided to change that formatting and deleted some lines of
code. HOWEVER, when I run the macro, it prints out the range of cells the
original way the code was written.

I can see no modules, no user forms, or other command buttons other than the
one I am using. Am I missing something here?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Removing a macro


Clark wrote:
Ok, so I inserted a macro that specifically formatted my printout of a range
of cells. I decided to change that formatting and deleted some lines of
code. HOWEVER, when I run the macro, it prints out the range of cells the
original way the code was written.

I can see no modules, no user forms, or other command buttons other than the
one I am using. Am I missing something here?


Maybe you have 2 copies of the macro in different spreadsheets? Maybe
one in the sheet where you use it and one in PERSONAL.XLS?

Hope this helps in your world.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Removing a macro

hi,
post your code. before and after.

FSt1

"Clark" wrote:

Ok, so I inserted a macro that specifically formatted my printout of a range
of cells. I decided to change that formatting and deleted some lines of
code. HOWEVER, when I run the macro, it prints out the range of cells the
original way the code was written.

I can see no modules, no user forms, or other command buttons other than the
one I am using. Am I missing something here?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Removing a macro

Ranges in Macros do not adjust when you delete rows like worksheet formulas
do.

--
Regards,
Tom Ogilvy


"Clark" wrote in message
...
Ok, so I inserted a macro that specifically formatted my printout of a

range
of cells. I decided to change that formatting and deleted some lines of
code. HOWEVER, when I run the macro, it prints out the range of cells the
original way the code was written.

I can see no modules, no user forms, or other command buttons other than

the
one I am using. Am I missing something here?



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
Removing disabled Macro Nadine Excel Worksheet Functions 7 May 7th 10 04:41 AM
removing a macro from a workbook Roger Excel Worksheet Functions 2 December 22nd 06 08:30 PM
Removing macro Junkman Excel Worksheet Functions 3 February 11th 06 03:11 PM
Removing a module with a macro bb Excel Programming 1 December 22nd 04 02:07 PM
Removing a Btn macro Rinativers Excel Programming 2 January 15th 04 12:52 PM


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