Solved

i am running excel macro and i receiving the attach error

Posted on 2014-10-23
5
118 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
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…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

777 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