Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mattygriff

  1. mattygriff

    Excel 2013 / 2010 Conditional Formatting

    Thanks, 1726 - have looked at that but I'm only using standard colours so not sure there's anything I can do there.
  2. mattygriff

    Excel 2013 / 2010 Conditional Formatting

    I have created a spreadsheet in Excel 2013 which uses conditional formatting to identify the highest and lowest values in a (non-consecutive) range of cells within each row. The highest value cell in each row is given orange fill and the lowest is given green fill. A colleague has created a...
  3. mattygriff

    Outlook Mailbox Rules

    Thanks, Skip. So presumably I would need to get the second mailbox set up as a separate Exchange account - can this be done through a single instance of Outlook?
  4. mattygriff

    Outlook Mailbox Rules

    I have been given access to a second mailbox from which we can read and send emails - it appears as a separate mailbox within my list of Outlook accounts. What I need is for emails received from different but specific companies to be forwarded to other individuals within my organisation - for...
  5. mattygriff

    Opening Excel Workbook Without Running Macros

    Something I've just noticed - when I try and re-open the amended workbook, I get the dialog asking me whether or not I want to enable macros. Usually in Excel 2007 when you open a new workbook without having Excel opened previously, the workbook just opens and you get an "Options" button up...
  6. mattygriff

    Opening Excel Workbook Without Running Macros

    Thanks, PHV, but no success - it still needs to be manually unhidden the next time I try and open it.
  7. mattygriff

    Opening Excel Workbook Without Running Macros

    OK, the changes all work fine and I can close and save the amended workbook with no problem. However, when I next try to open the amended workbook it is ALWAYS hidden - I have to click on View -> Unhide to get it back on screen. I've searched around online and tried a few things but here's...
  8. mattygriff

    Opening Excel Workbook Without Running Macros

    PHV - many thanks, that seems to work fine. Is there anything I need to add at the end of my code to revert the security settings back to the default or will that happen automatically when I close down Excel? Skip - thanks for your replies but PHV's solution works great.
  9. mattygriff

    Opening Excel Workbook Without Running Macros

    PHV - thanks, will give it a try. Skip - again, apologies if I haven't been clear but I thought that, as long as Workbook B was opened in a separate instance of Excel, I could set the macro security to a different level, i.e. disabled, while keeping the macros in Workbook A running. Is this not...
  10. mattygriff

    Opening Excel Workbook Without Running Macros

    Apologies, Skip - didn't make myself clear. The second workbook is opening and the macros are running automatically, presumably because I have enabled macros in the original workbook.
  11. mattygriff

    Opening Excel Workbook Without Running Macros

    Hi all, I need to roll out some changes to some template spreadsheets I developed recently. My plan was to write up an Excel macro that would ask the user to navigate to the workbook. My macro would then open the workbook, change the formulae that need changing and save the workbook back in...
  12. mattygriff

    Excel - Automation Error - Please Help

    Hi guys - just a quick update. Managed to solve the problem myself after some testing - basically the inserted line was falling outside the MAX_PAYMENT_LIST range so the test was always finding that the PAYMENTS_LIST range was longer resulting in an endless loop. Not sure why it gave the error...
  13. mattygriff

    Excel - Automation Error - Please Help

    Thanks for replying, guys. PHV - it's the insertion line that's highlighted by the debugger. I'll try your change and see if that makes any difference. Skip - aside from having to cater for different versions of Excel, I also need the list of payments to be (in theory) infinitely extendible...
  14. mattygriff

    Excel - Automation Error - Please Help

    Just realised that I haven't explained what my problem is!!! When the macro runs, I get the following error : "Run-time error '-2147417848 (80010108)': Automation error. The object invoked has disconnected from its clients." Thanks in advance.
  15. mattygriff

    Excel - Automation Error - Please Help

    I have an Excel workbook which, when opened, generates a new payment number. A macro then checks the Payment List sheet to see if the list is full. If it is, a new line is inserted below the last entry. Option Explicit Dim numPayments As Long Dim numPaymentsMaxLength As Long Private Sub...

Part and Inventory Search

Back
Top