Solved

i am running excel macro and i receiving the attach error

Posted on 2014-10-23
5
117 Views
Last Modified: 2014-11-03
in the debug it failing on the following line:
ThisWorkbook.Worksheets("Sheet1").Range("A1").PasteSpecial Paste:=xlPasteAll ', Paste:=xlPasteComments
its happen only for specific user and for other login users who running a copy of this file the error is not happen

please advice
Thanks
Gvilbis
excel-run-time-error.JPG
0
Comment
Question by:gvilbis
  • 2
  • 2
5 Comments
 
LVL 35

Assisted Solution

by:Kimputer
Kimputer earned 250 total points
ID: 40399017
Strange error, no solution.
Only one piece of advice, try to update your attachment (remove IP numbers visible)
Incidentally, I also use the same port number for that purpose :)
0
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40399027
Would the same error arise if you use Paste, instead of PasteSpecial?
0
 

Author Comment

by:gvilbis
ID: 40399082
i just run it on diffrent user and its running OK
but for specific user i am getting this error
0
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40399096
My best guess then: There is a problem with the installation of Excel or Windows on that computer, something which affects the clipboard.

I would suggest a detect and repair on MS Office.
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 250 total points
ID: 40399111
Is the code based on more excel files? (Copy something from one excel file to another)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now