Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Weird macro mistakes or goof ups

I've created 2 macro's for the same workbook to do 2
different things that seem to work except for some things
i can't explain. The first macro is set to rename a sheet
(lets call it sheet z) and some cells on sheet z, it also
changes 5 cells on the fist sheet (lets call it sheet a)
into IF functions that refer to cells on sheet z. Now
what happens is that the 4 cells ajacent to 4 of the 5
cells on sheet a (as well as some other random cells that
arn't ajacent) have #Ref in the cells. When recording the
macro I did not make any changes to the cells that have
#Ref and so I have no clue why it's doing that.
The 2nd macro is used on sheets c to G to remove colums
and rename the cells b2 to e2. Now it does that just fine
however it removes the text I have in cells A1 and A2.
(A1 streches across 6 columns if that makes a difference)

Anyone have any idea why this is happening or how I can
fix it?

A.
/perplexed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Weird macro mistakes or goof ups

Andre

Post your code.

Gord Dibben Excel MVP

On Wed, 7 Jul 2004 09:44:41 -0700, "André"
wrote:

I've created 2 macro's for the same workbook to do 2
different things that seem to work except for some things
i can't explain. The first macro is set to rename a sheet
(lets call it sheet z) and some cells on sheet z, it also
changes 5 cells on the fist sheet (lets call it sheet a)
into IF functions that refer to cells on sheet z. Now
what happens is that the 4 cells ajacent to 4 of the 5
cells on sheet a (as well as some other random cells that
arn't ajacent) have #Ref in the cells. When recording the
macro I did not make any changes to the cells that have
#Ref and so I have no clue why it's doing that.
The 2nd macro is used on sheets c to G to remove colums
and rename the cells b2 to e2. Now it does that just fine
however it removes the text I have in cells A1 and A2.
(A1 streches across 6 columns if that makes a difference)

Anyone have any idea why this is happening or how I can
fix it?

A.
/perplexed


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
10 worst mistakes Michiel van der Blonk New Users to Excel 9 April 20th 09 05:14 PM
weird macro behavior Dave F Excel Discussion (Misc queries) 0 November 30th 06 03:35 PM
Major Goof, I deleted data HELP Traci B........ Excel Worksheet Functions 4 November 3rd 06 10:38 PM
Subtotal Macro weird actions Bill[_22_] Excel Programming 4 August 5th 04 07:05 PM
Can anybody Share goof Pivot Table Examples? Shashi Bhosale Excel Programming 2 September 4th 03 03:54 PM


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