Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: get an error if i press calculate-1 button without entries in the 4 Labels in Red

  1. #11
    Senior Member
    Join Date
    Jul 2013
    Posts
    102
    Rep Power
    12
    Hello bakerman

    yes a bad miss by me

    what advice would you give for learning VBA...do you recommend any books?

    Cheers

    Jeff

  2. #12
    Moderator
    Join Date
    Jul 2012
    Posts
    156
    Rep Power
    13
    There maybe dozens of books on the market so saying this one or that one is rather difficult.
    The macro-recorder is a good place to start. Just record all the steps you take and look what code comes out.
    Then you can start by shortening that code by eliminating Select, Selection, Activate because in 99% of the cases it's unnecessary.
    A lot of trial and error and visiting forums to view codes and learning from that also helps a lot.

Similar Threads

  1. adding entries into combobox with code
    By paul_pearson in forum Excel Help
    Replies: 1
    Last Post: 07-23-2013, 01:01 PM
  2. Macro To Calculate Percentage Allocation
    By Howardc in forum Excel Help
    Replies: 3
    Last Post: 06-01-2013, 01:59 PM
  3. Replies: 2
    Last Post: 05-26-2013, 03:41 PM
  4. Red Green Amber Three Color Conditional Format
    By paul_pearson in forum Excel Help
    Replies: 1
    Last Post: 03-07-2013, 06:50 PM
  5. Calculate the Hours
    By leopaulc in forum Excel Help
    Replies: 2
    Last Post: 02-27-2013, 02:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •