Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default avg test failed or no virus found

When I added the code for moving the sheet it came up with this error

run-time error '-2147352565 (8002000b)':

AVG Test Failed or no virus found

Please advise

Here is the code i use

Private Sub CommandButton2_Click()
Workbooks.Open Filename:="C:\idsc\DESIGN\health care plan\BLANK
SHEETS.xls"
Sheets("PRIVATE INSURANCE").Select
Sheets("PRIVATE INSURANCE").Copy Befo=Workbooks("MALE client
database.xls"). _
Sheets(1)
Sheets("PRIVATE INSURANCE").Select
Sheets("PRIVATE INSURANCE").Move after:=Sheets(i)
ActiveWindow.ScrollWorkbookTabs Position:=xlFirst
Sheets("PRIVATE INSURANCE").Select
Range("A6").Select
Selection.insert Shift:=xlDown
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:=
_
"'PRIVATE INSURANCE'!A1", TextToDisplay:="'PRIVATE INSURANCE"
i = Sheets.Count
Sheets("pRIVATE INSURANCE").Move after:=Sheets(i)

greg2.Hide
greg3.Show


Thanks in advance

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default avg test failed or no virus found

It is fine I managed to work it out I had the code repeating itself soon as
I noticed the error the message stopped


Thanks Greg


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate mean of test scores from rows of test answers RiotLoadTime Excel Discussion (Misc queries) 1 July 26th 06 05:14 PM
Virus - help jerry44 Excel Discussion (Misc queries) 3 January 9th 06 02:17 PM
Search for a test string and if found insert 'x' in clumn 'A' TCL Excel Discussion (Misc queries) 2 September 21st 05 05:18 PM
How do I test when a vaule is not found? [email protected] Excel Programming 1 February 24th 04 04:22 AM


All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"