+ Reply to Thread
Results 1 to 3 of 3

User defined type: assign a variable to another variable

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    347

    User defined type: assign a variable to another variable

    I have a question about if it is valid to assign a user-defined variable to another user-defined variable like:

    Please Login or Register  to view this content.
    The procedure will make values for inlist. After that, I hope I can simply create the exactly same copy to the variable inlist2.

  2. #2
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,408

    Re: User defined type: assign a variable to another variable

    Yes, you can do that. Here is a simple demonstration...
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    347

    Re: User defined type: assign a variable to another variable

    Many thanks, Rick. It is very helpful.

+ 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. User defined functions triggered only when variable cell changes
    By walduxas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-23-2018, 06:30 AM
  2. Global user-defined variable within a userform
    By ChrisB_ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2015, 08:49 AM
  3. [SOLVED] Assign entire row to variable, how do you paste variable values in a new workbook?
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 08:01 PM
  4. In VBA can i assign a variable to equal an excel defined name already in the file?
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-28-2011, 09:43 AM
  5. Changing user defined variable types
    By Mbrolass in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2007, 11:27 AM
  6. [SOLVED] Clearing all values in a User Defined Type variable
    By J Streger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2006, 03:10 PM
  7. [SOLVED] user defined variable arguments in an average function
    By Travis in forum Excel General
    Replies: 3
    Last Post: 03-13-2006, 03:15 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