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

I wrote a macro that reads data from cells, make some algebraic calculations and makes two graphs and creates a new sheet with reported values.It works fine, but sent to other users it makes only one graph without contionuos lines, it does not show a text box with some calculated values on the graph area. It does not make the second graph and does not add a new sheet with a report. No error message is shown.The code of the macro is transmited correctly so that the same code on different PCs (same windows, all excel 2000) does not produce same result.Does anybody know what is going on?
mgr
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default excel executes only a part of a macro

Have you tried transferring the whole workbook with code and data, not just
the VBA code?

Is this problem true on all PCs other than your own?

If it still is a problem I suspect that the environment and sheets are not
the same in the target environment. If your macro relies on this then you
should establish this as part of the programme.

Finally it is difficult to assess the code if you do not post it.

Cheers
N

"mgr" wrote in message
...
I wrote a macro that reads data from cells, make some algebraic

calculations and makes two graphs and creates a new sheet with reported
values.It works fine, but sent to other users it makes only one graph
without contionuos lines, it does not show a text box with some calculated
values on the graph area. It does not make the second graph and does not add
a new sheet with a report. No error message is shown.The code of the macro
is transmited correctly so that the same code on different PCs (same
windows, all excel 2000) does not produce same result.Does anybody know what
is going on?
mgr





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default excel executes only a part of a macro

Mgr,

Sounds like it's got an error somewhere which doesn't show as an error
dialog but simply quits.

You could try stepping through the code using the debugger on their computer
to locate the fault.

Rob


"mgr" wrote in message
...
I wrote a macro that reads data from cells, make some algebraic

calculations and makes two graphs and creates a new sheet with reported
values.It works fine, but sent to other users it makes only one graph
without contionuos lines, it does not show a text box with some calculated
values on the graph area. It does not make the second graph and does not add
a new sheet with a report. No error message is shown.The code of the macro
is transmited correctly so that the same code on different PCs (same
windows, all excel 2000) does not produce same result.Does anybody know what
is going on?
mgr



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
Can a Macro be run as part of an IF() statement WAJ Excel Worksheet Functions 1 October 5th 07 04:57 AM
Macro Execution, Part Duo C Brandt Excel Discussion (Misc queries) 1 July 12th 07 10:57 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
excel - create a macro to use cell text as part of a file name bossman tv New Users to Excel 1 June 27th 06 10:38 PM
Count # of Times Sub Executes Mike[_32_] Excel Programming 1 July 15th 03 03:27 PM


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