Results 1 to 6 of 6

'Paste Special' problem with macro

Threaded View

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    omaha
    Posts
    4

    'Paste Special' problem with macro

    I have a macro that copies the main report sheet in my workbook. The point of the macro is to get a copy of the report data without allowing anyone to see the formulas/data behind it - when it pastes, it pastes only the values in the tables and then copies the charts, deletes the live ones, and pastes only the images back on the sheet. The macro works on my computer and my partner's computer, but not on anyone else's. It stops at this point:
     ActiveSheet.PasteSpecial Format:="Picture (PNG)", Link:=False, _
            DisplayAsIcon:=False
    and either gives them a runtime error or Excel stops working entirely (interestingly, this differs based on what type of computer they use).

    Why does this happen? Does it have something to do with Excel settings?
    Last edited by royUK; 11-14-2008 at 03:53 PM.

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