Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

How can I stop cells recalculating after macro run

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
n.kennedy927@btinternet.com - 13 Feb 2008 13:32 GMT
Hi folks

I have a macro which when run removes a couple of excess lines from a
report (produced from elsewhere). The excess lines appear depending on
what time of the day the report runs.

When I run the macro, the links on the second sheet are recalculating,
changing to the formula to an incorrect cell.

I have tried the following to get around this issue, without luck:-
All formulas in the linked sheet have been made absolute references
using the $ for all cell references;
Within the macro, made the calculation method Manual then reverting to
Automatic at the end of the macro.

The basic question after this waffle is this -
Can I get a macro to run, remove the excess lines from my raw report
but leave all of the existing formulas intact so they read from the
coorect cells.

Cheers for any help in advance

Neil
Niek Otten - 13 Feb 2008 13:39 GMT
Hi Neil,

If you use the INDIRECT() function to address the cell, the formulas will not change.

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hi folks
|
[quoted text clipped - 19 lines]
|
| Neil
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.