+ Reply to Thread
Results 1 to 4 of 4

Need assistance with if statement

  1. #1
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Need assistance with if statement

    Hi,

    I am looking to create an If-statement which checks if a refrence is set. If you go into Tools>Refrences there are two refrences that needs to be checked before you can run the macro. The names on them are:

    Tekla_Structures
    Tekla_Structures_Model

    Both of these refrences needs to be checked.

    I wanna create some kind of If-statements that controls if these are checked. And if they are unchecked it should appear a messagebox that shows instructions on how to "check" them and ends the sub.

    Would appreciate any kind of help!

    / Rinor
    Last edited by RinorM; 08-15-2014 at 07:48 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Need assistance with if statement

    Had you intended to attach an excel sheet?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Need assistance with if statement

    Hi Glenn,

    I am not really sure on what you mean?

    Thank you.

    / Rinor

  4. #4
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Need assistance with if statement

    Can I somehow add the refrences automatically when running a macro?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If statement assistance
    By floricita in forum Excel General
    Replies: 2
    Last Post: 08-15-2014, 07:10 AM
  2. [SOLVED] Assistance with If statement
    By capson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2014, 02:28 PM
  3. [SOLVED] I need some assistance with IF statement
    By billylasvegas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2013, 12:27 PM
  4. [SOLVED] Assistance with If And statement
    By Delta729 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-01-2013, 09:56 AM
  5. IF Statement Assistance
    By gasguzzler in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-11-2009, 04:50 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1