+ Reply to Thread
Results 1 to 3 of 3

how to run macros using set variable

  1. #1
    Registered User
    Join Date
    10-24-2007
    Posts
    37

    how to run macros using set variable

    hi folks,
    I have an issue in running macros in a workbook using set variable. Can anyone look at the code and let me know how to fix it?

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor Tarball's Avatar
    Join Date
    04-21-2007
    Location
    Atlanta, GA
    Posts
    166
    You need to define your testwrk variable as type Workbook.

    Please Login or Register  to view this content.
    Reach me at excel_help at bellsouth dot net

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    Check out this site on
    Copy a range from closed workbooks
    http://www.rondebruin.nl/ado.htm
    http://www.rondebruin.nl/copy7.htm

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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