+ Reply to Thread
Results 1 to 5 of 5

Declaring a namespace

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Declaring a namespace

    Hi please help!

    How to declare namespace "System" in vba(vb6)?

    Many thanks in advance!

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Declaring a namespace

    You do not declare namespaces in VBA/VB6. If you wish to access other object library, you must set reference or else use CreateObject.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: Declaring a namespace

    Thanks for replying! Maybe you know then.. Originally i want to use
    Please Login or Register  to view this content.
    In order to do that i need reference to mscorlib.dll and namespace System. The first requirement was easy. How do i deal then with the second one??

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Declaring a namespace

    If this is ArrayList you may use:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: Declaring a namespace

    Ok. 1st - Thanks. 2nd - Izandol, you answered the original question, so this thread is solved. 3rd - i still dont understand how to get this working, but that will be the subject for another thread.

+ 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. How to declare a namespace?
    By XmisterIS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2014, 08:40 AM
  2. Stop converting namespace to ns1
    By mayurpatil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2013, 11:03 AM
  3. [SOLVED] namespace.pickfolder
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2005, 08:05 AM
  4. [SOLVED] Smart Documents - XSD and Namespace
    By Paul Hasell in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-31-2005, 01:05 PM
  5. [SOLVED] Macro looking to Outlook for namespace.
    By gobjob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2005, 07:05 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