Enabling Excel File With Password For Copying In External Drive?

May 8, 2012

I'm looking for enabling an excel file with a password that prevent it to be copied on an another drive.

View 1 Replies


ADVERTISEMENT

Copying Values From External Text File

Nov 11, 2008

I have an external file that is a table with 4 columns and about 25 rows
I would like to copy the contents of a file into a collection so I can analyze the data.

The problem is, I only know how to copy a whole line as a string and have no idea how to copy the data from the same line into different variables.
I also have no idea how to define a collection array

I will explain

say my text (data.txt) file looks like this:

AB 0.5 20 2/2/07
CD 0.2 15 2/2/07
FE 0.4 40 2/2/07
(example of input)

I would like to create a collection called trade which I have defined like this (obviosly wrongly)
Dim Trade() As Collection
Dim bs As String
Dim quant As Long
Dim price As Single
Dim calendar As String
Trade.Add (bs)
Trade.Add (quant)
Trade.Add (price)
Trade.Add (calendar)

so I would like to know how to define the collection array and how to input the data so that I don't have to insert a whole line into a string variable but can, instead break apart the line during the input stage

View 9 Replies View Related

Enabling Macro Via Password

Mar 23, 2007

I have a shared workbook with four buttons executing different macros. Problem is that some of the users should only be able to use two of the buttons. To avoid that they accidently press the "restricted buttons" i would like a password (or keyboard shortcut) to enable these.

View 9 Replies View Related

Pivot Table External Source Drive Changes

Mar 27, 2009

I am using pivotable with access queery as the source.

When I set it I cuse that external source browse tool, but it seems to only recognize the source if the dive is the same.
When I go downstairs to try on a users computer there dirive letter(K is different than my (H and it does not work.

View 9 Replies View Related

Internal Hyperlinks In Excel File Stored On Network Drive

Oct 16, 2013

I am having trouble creating a hyperlink to a place in the current document for a file stored on a network drive. My workbook has a lot of sheets (50 or so), so I created a 'Navigation' sheet that contains hyperlinks to all the worksheets located therein, and pasted a link back to the Navigation sheet in cell A1 on every tab.

Setting up these Navigation sheets has never a problem until I started posting the file on a network drive. As soon as I did that, I noticed that the internal hyperlinks on all sheets in the workbook would stop working after I closed the file in Excel. Note that this network drive is not set as a drive letter on my computer, and is only accessible by entering the server ip address in Windows Explorer.

An example address the hyper is trying (and failing) to open is: "file:///\ IP ADDRESS sub-folders activefile.xlsm"

I've tried a few options, using the HYPERLINK formula, using the HYPERLINK feature in the Insert ribbon, etc, but all to no avail.

View 8 Replies View Related

Links To External Workbooks And Server Drive Selected?

Aug 7, 2013

I have a workbook that is being used by many individuals. Within it contains links to an external workbook on a server. Currently the links in the workbook map the server to drive "T".

If a different user maps the same server to another drive letter, I assume these links need to be updated with the drive letter he/she is using for that server?

View 1 Replies View Related

Excel 2010 :: Saving File To Network Drive - Amend Date

Jan 29, 2014

I am currently creating a simple macro to save out files to a specific folder on one of our network drives. Since we will be doing this often I would like to amend the date the the file name saved for sorting/organizational purposes.

Unfortunately I have been running into a few issues, this is what I have tried so far but keep getting a SaveAs error:

Code:
ActiveWorkbook.SaveAs Filename:="vosinsharedClient Implementation TeamDC Tools" &
"Copy DC Conversion WB_2014 " & Format(Date, "yyyymmdd") & ".xlsx", FileFormat:=xlNormal

I have also tried:

Code:
ActiveWorkbook.SaveAs Filename:="vosinsharedClient Implementation Team
DC ToolsCopy DC Conversion WB.2014_" & _
Format(Now(), "YYYYMMDDhhmmss") & ".xlsx", FileFormat:=56

But still no avail. I believe it may have something to do with the file format but I am not sure. I am running Excel 2010.

View 1 Replies View Related

Protect An Excel File From Being Copied To External Device

Mar 24, 2009

I have a file used by our employees through our local area network. Because that file has many functions and possibilities that took us a lot of time to create, I would like to protect this file so no employee can copy it to an external device without a password. It would be great, though, if the file could be exchanged or sent among employees as logn as it remains WITHIN our internal network.

Is it technically possible to protect an Excel file in a such a way?

View 9 Replies View Related

How To Put Password For Excel File?

Feb 16, 2010

I searched the forumn but didn't find thread sorry for creating new thread.

frends i have 2 questions.

1) How to put password for excel file (2003) ? (not for sheet)

2) How to remove password from excel file ? (if its not break forum rule).

View 3 Replies View Related

2 Password For One Excel File

Apr 17, 2014

Is it possible for Excel file to be open with 2 password? Like, if password is equal to "Password1" the file can be edited but if password is equal to "Password2" the file will be open as read only, if so, VBA code.

View 1 Replies View Related

Excel 2003 :: Removal Of Open Password From File

Dec 5, 2012

How can I remove open password from an excel file having version 2003 without any software.

View 3 Replies View Related

Password Protected Excel File - Can Only Open As Read Only

May 31, 2013

I've got a spreadsheet that has password protection before you can "modify" it. All of a sudden today, when I open the spreadsheet and enter the correct password, it still opens but only as Read Only.

View 3 Replies View Related

Excel 2003 :: Change Permission To Recovered File With Password Encryption

Aug 9, 2013

I have an excel spreadsheet that I password encrypted in Excel 2003.

The computer that it was stored on has died however the hard drive was still good and has been added as a second drive in my current computer with no signs of data corruption.

I took ownership of all the files on the old drive and gave explicit rights on my current computer to open that file. However when I open the file with in excel. I get the error: You don't have permission to open this file. Contact the file owner or an administrator to obtain permission.

When I open from windows explorer. I get the error: Excel cannot access 'Passwords.xls' The document may be read-only or encrypted.

And: 'Password.xls' cannot be accessed. The file may be corrupted, located on a server that is not responding, or read-only.

The new computer has Excel 2010 instead of 2003. Additionally, I know the password to the encrypted file but it wont let me even get to a place where I need to put in a password. I cannot move or copy this file to another location either.

View 5 Replies View Related

Excel 2013 :: Enabling ActiveX Controls

Apr 4, 2014

I bought a Surface 2 tablet. When I go to "settings" in the Trust Center it does not show any option to enable Active X.

View 3 Replies View Related

Writing Specific Content From Excel To External File Of Specific Name

Apr 29, 2013

I have a worksheet that contains two basic columns of data, A and B. What I would like to do is based on the value in column A, I would like to copy the contents of column B to a textfile (preserving the basic line structure and hopefully without any extra characters like quotation marks attached). So for all the values in column A = 'Account', Id like to take all the corresponding values in Column E (for example) and save them to the same file, preferably where the filename itself as 'Account.xyz'. And I would like to do this for all unique values in Column A, that is do it for 'Account' and 'AccountPrivilege' etc. Note Column A is essentially presorted alphabetically already. There are actually 1000s of rows with hundreds of unique A values so Id like to find a way to automate this process.

A
B

1
Account
Company Information

2
Account
Company

[Code] ........

View 2 Replies View Related

Excel 2013 :: Enabling Undo After Running A Macro?

Mar 18, 2014

A coworker just ran something by me that i'm quite frankly baffled by. After running a macro, the undo function becomes disabled up to the point of when the macro was ran. I've done a quick search through the forums and can't seem to find this question so i thought i'd ask.

Is there an option to toggle somewhere or 3rd party addon that keeps Undo enabled after running a macro? On a similar topic for my own curiosity, what's the reason that it disables?

View 3 Replies View Related

Password Protection :: Asking For Password Of An Old Deleted File

May 27, 2009

When opening a new Excel file, it is asking me for a password to an old excel file that was password protected, which I have deleted from my computer. It is still asking for this password every time I open a new or existing file. When I hit cancel it lets me open the file.

View 11 Replies View Related

Find File Path To USB Drive

Jun 12, 2009

I have a file which is kept on the C Drive. Each day, a different excel file is downloaded to a usb memory stick. The first file reads data from this file. The problem is, the drive letter keeps changing from E to F and the macro then crashes out.

The file on the memory stick always has the same name, so is there a macro to find the drive letter of this file and then use it in my existing macro?

View 10 Replies View Related

Macro - Search A Drive For A File

Sep 2, 2008

I want to write a macro that would go to a certain drive and search for a file?

View 9 Replies View Related

How To Open Xls File In A Network Drive

Dec 1, 2009

If you don't know what the drive letter will be, because on other people's computer it could be different than what you have.

I only have the folder address

\ROGERSDAILYREPORTSXLSDM

View 9 Replies View Related

Hyperlink To Another File On Another Drive Fails

Jun 13, 2008

I made an excel sheet that links to other sheets on a different drive. It works while I am making it, but upon save and reopen all the hyperlinks produce this error: The address of this site is not valid. Check the address and try again.

Auto Merged Post Until 24 Hrs Passes;Figured it out. File, Properties, Summary tab, Hyperlink Box to base Drive. Auto Merged Post Until 24 Hrs Passes;Figured it out. File, Properties, Summary tab, Hyperlink Box to base Drive. Auto Merged Post Until 24 Hrs Passes;Figured it out. File, Properties, Summary tab, Hyperlink Box to base Drive. Figured it out. File, Properties, Summary tab, Hyperlink Box to base Drive.

View 2 Replies View Related

Excel 2003 :: Copying Range Of Cells From One XLS File To Another

Nov 5, 2012

I'm using Excel 2003. I've got two different .XLS files, each with multiple sheets.

I'm trying to create a macro which will copy a range of cells from one sheet on one .XLS file (which is closed) to a specific place on a specific sheet on the current .XLS file (which is open).

So for the sake of argument:

I've got two Excel files: C:ApplesOldFile.xls and C:OrangesNewFile.xls

OldFile.xls is closed -- NewFile.xls is open and in front of me.

I'm trying to copy the data in ranges B6:C41 and F6:F41 from Sheet2 in OldFile.xls to the same ranges on Sheet6 in NewFile.xls. There are no formulas in these cells -- just data (numbers).

I keep getting error messages, failures to copy to clipboard, etc.

View 3 Replies View Related

Excel 2007 :: Copying Contents Of 1 Text File Into Another Using VBA

Jan 7, 2012

I am using Excel 2007, here's my question:

I just wrote two macros that each produce separate text files (call them 'A' and 'B'). I want to open 'B' with Excel VBA, copy all of its contents, and paste that content into 'A' right after a specific location in 'A' (where I have 10 consecutive asterisks, i.e., **********).

Most topics relating to Excel VBA and .txt files have to do with either importing / exporting into Excel (not what I want), or with associating .txt files to Excel (also not what I want).

View 7 Replies View Related

Move / Rename File On Mapped Drive?

Jul 25, 2014

I am trying to move and rename an excel template file using a macro. My code works fine when it is moving the file locally on my C: drive. However, when I try to do it on a mapped network drive I get a Path/File access error. Here is the relevant code:

[Code] ......

I tried it both ways that are commented out - both give me the error. I have permissions to read/write in all relevant folders. What am I missing here?

View 2 Replies View Related

Code To Print File Located In C Drive

Apr 14, 2013

I need code to print a file located in my C drive.

View 6 Replies View Related

External File(s) Referenced And File Links Change Based On Row Cell

Oct 22, 2009

I have attached the file I am working on. I am attempting to create a link to an external file based on the value of cells in column A. Then I would like to simply copy the formula down, lets say in Column B, the rows and as I do the external file reference will change depending on the value within the cell in Column A. I hope that I am making sense.

I am using Windows Vista with Excel 2007. The files will all be within the same file folder, however, there are hundereds of files so I won't be able to open them all for the indirect to work.

View 9 Replies View Related

Copying Data From Multiple Sheets To Single Sheet In New Excel File

Feb 6, 2012

I have an master excel file with 20 sheets with names x,y,z,a,b,c,f,.... Each and every sheet has data which start from Row 7 and Column 2. Now i need to consolidate this data in one sheet in another excel file.

Consolidation should be like

Suppose X sheet has 20 rows and 4 columns of data which starts from Row 7 and Column 2, this data has to be copied and pasted in my new excel file copied on my desktop. Now first 20 rows are occupied in new excel file.

Now code should move on to master excel file Sheet Y which has 45 rows and 4 columns of data which starts from Row 7 and Column 2,this data has to be copied and pasted in my new excel file from row 21, which means Master excel file sheets has to be clubbed to one consolidated excel file.

In All the sheets in Master file Data starts from Row 7 and column 2.

Data range varies row wise in each sheet but column length is fixed to 4.

View 9 Replies View Related

Excel 2007 :: Error While Copying Extracted Text File Data?

May 7, 2012

I am trying to develop a code which extracts the data from text files inside a folder (Folder test in my desktop) into one sheet. The Macro is in the workbook “Text Extract” which is an excel 2007 file. The data of each text should be copied to Sheet1 of this workbook one below the other. For testing purpose I have kept only one text file in the folder and was trying to copy the data from the text data extracted sheet to Cell A1 of Sheet1 of workbook “Text Extract”. The code works fine till copying the data, but shows below error in the line “Selection.Paste”:

Run time error 438: Object doesn’t support this property or method.

Below is the code:
Sub LoopThroughFiles()
Dim strFile As String
Dim strPath As String

[Code]....

View 6 Replies View Related

Get Data From Cells In External File - File Name Changes Daily

Aug 1, 2014

I have a file that gives some statistical data to my co-workers every 15 minutes. A common question I get is "How does that compare to last week?" Then I have to open the file from 7 days ago, find the data from the same time interval, and subtract it from this week's number in my head. I'd like to have excel do this for me.

I know how to get data from an external file. The problem is, these files are named with a date on the end of the file name. So tomorrow, the static formula won't work anymore (or rather, it will give data for a file from 8 days ago, instead of 7). I'd like to excel to use today's date, find the file from 7 days ago, and get the data from that file to compare to the current file.

Here's what I've done so far:

Code:
ThisDate = Range("C1").Value 'the cell with todays date in it
ThisDateName = Format$(ThisDate, "yyyy-mm-dd") 'now formatted the way I need it
ThisDate7 = Range("G1").Value 'the cell with the date 7 days ago
ThisDateName7 = Format$(ThisDate, "yyyy-mm-dd") 'formatted correctly
ThisDate14 = Range("G2").Value 'the cell with the date 14 days ago
ThisDateName14 = Format$(ThisDate, "yyyy-mm-dd") 'you know, in case of a holiday 7 days ago

I have no clue what to do next. I want Excel to: Use "ThisDateName7" to find the file with the name "pph_tracker_[ThisDateName7].xlsm"Get data from a cell in that file (say, C15)Subtract it from the data in the same cell (C15) in today's file (this week - last week)Give me the result in today's file (say in cell C20)Do that again for cells D15, E15, and so on (result in D20, E20, etc)

I assume I can figure out the rest from there. Can I use the variable names in an actual formula in cell C20? Something like:

=C15 - '[pph_tracker_{ThisDateName7}.xlsm]Sheet1'!C15
or even
=C15 - '[pph_tracker_{The Date in Cell $G$1}.xlsm]Sheet1'!C15
which would require no macros at all!

View 3 Replies View Related

Formula To External File, Requires File To Be Open

Jun 12, 2006

I've got a couple of formulas in a workbook which lookup values in another workbook. When I reopen the initial workbook the formulas results come back as errors (i.e. #VALUE!) unless the workbook it is looking at is also open. This is not desirable, does anyway know how I can lookup values in another workbook which are not open? The formula which is causing me problems is as follows:

= SUMIF( 'H:Infozoom[2006-01_assy.xls]New Table1'!$F:$F,$A8,'H:Infozoom[2006-01_assy.xls]New Table1'!$AH:$AH)/60

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved