LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Macro creating folder and files automatically, without permission.

I'm using this macro:
Sub TwoPercentCheck()
i = 15
Do While Range("A" & i) < ""
If Range("A" & i).Value = 26001 Or Range("A" & i).Value = 26005 Or _
Range("A" & i).Value = 26007 Or Range("A" & i).Value = 26011 Or _
Range("A" & i).Value = 314001 Or Range("A" & i).Value = 315001 Or _
Range("A" & i).Value = 495001 Or Range("A" & i).Value = 835001 Or _
Range("A" & i).Value = 22801 Then
Else
If Range("B" & i) 0 Then
Range("K" & i) = Range("I" & i) / Range("B" & i)
Range("K" & i).Style = "Percent"
Else
Range("K" & i) = 0
End If
If Range("C" & i) 0 Then
Range("L" & i) = Range("J" & i) / Range("C" & i)
Else
Range("L" & i) = 0
End If
If Range("K" & i) = 0.02 Or Range("L" & i) = 0.02 Then
Range(Cells(i, 1), Cells(i, 12)).Interior.ColorIndex = 6
Range(Cells(i, 1), Cells(i, 12)).Interior.Pattern = xlSolid
End If
Range("K" & i).NumberFormat = "0.00%"
Range("L" & i).NumberFormat = "0.00%"
End If
i = i + 1
Loop
End Sub

When this macro starts for some reason it puts a Folder in the location
where the Excel Worksheet is named the same thing as the Worksheet. Inside
this folder. There are 2 files.
filelist.xml
editdata.mso

I have no clue why this is creating these items and would like to stop it.
If you have any idea on whats going on that would be great.
 
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
Macro help - Moving 2 cells from 100 separate files into new folder Steven Excel Discussion (Misc queries) 7 July 10th 07 07:47 PM
Macro to create a folder and copy files GainesvilleWes New Users to Excel 2 February 26th 07 06:33 PM
Path and Number of files in a folder. - Pass to Macro. Richard Excel Discussion (Misc queries) 1 December 21st 06 09:20 PM
Creating a List of the files in a folder in excel [email protected] Excel Discussion (Misc queries) 2 November 27th 06 08:39 PM
Macro to copy range from Excel files in folder nc Excel Discussion (Misc queries) 1 June 15th 05 11:11 AM


All times are GMT +1. The time now is 06:12 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"