2 Instances Of 2007 Slow To Open A File By Double-clicking And Entering From Windows Explorer

Sep 20, 2007

i use excel 2007, it s slow to open a file by double-clicking and entering from windows explorer, by googling i fould a fix by adding "%1" at the end of command in "Application used to perform action" (folder options/file types/xls/advance/open). however, to open files in the same instance, i have to keep "DDE message" with [open("%1")]. With both "%1", excel now opens twice.
How to fix it?

View 3 Replies


ADVERTISEMENT

Open My Computer In Windows Explorer

Nov 19, 2009

The following 3 macros do the following.

1st macro . . . When the button is clicked for this macro, Windows Explorer is opened and the folder MyMenuFiles is selected. Works Fine.

2nd macro . . . When this button is clicked, the windows explorer opens with My Documents selected. Works Fine.

3rd macro . . . THIS IS THE PROBLEM ONE. When this button is clicked, windows explorer opens, with the C: drive selected. I want My Computer selected.

View 3 Replies View Related

How To Open A Folder In Windows Explorer

Apr 5, 2007

I'm sure this is really easy, but I'm learning and not having luck in the search option for previous posts. Thanks for your patience in advance.

I want to open a windows explorer window by using a button in Excel.

View 9 Replies View Related

Excel Macro - Open Windows Explorer Window Using VBA?

Jun 6, 2002

What's the code for opening a Windows Explorer window from within an Excel Macro?

View 7 Replies View Related

Open Excel File Location (path) In Explorer

Jul 18, 2013

I would like to have a macro button that will open the file location (path were the excel is stored) in MS explorer.

I found something like:

Sub ExplorePath()
Shell Environ("windir") & "Explorer.exe " & ActiveDocument.Path, vbMaximizedFocus
End Sub

But that give the error that an object is needed. Would that also work for MS Word?

View 4 Replies View Related

Excel 2010 :: How To Find And Select (not Open) A File In Explorer Using VBA

Dec 11, 2013

Two months ago our employer seriously limited the size of our mailboxes. We are "forced" to store emails as msg files on our network. PST archives are not allowed. This naturally sucks, as in Explorer you only have the file names and dates to look for that one particular email amongst hundreds (thousands) of msg files. I was able to compose a program in Excel 2010 that generates a list of msg files from a selected folder, together with metadata (sender, receiver, etc.) and so on.

In a test the program worked fine with 6,710 msg files I could post the code here, but the comments and many of the variable names are in Dutch (I never expected it to work in the first place). There is one thing I would like to add to the program. Sometimes I want to add an email to a new email as an attachment. Nowadays I have to look for the right msg file in Explorer by hand, which is a pitty, because I have the paths and filenames in my worksheet. I can put that in a string variable and let VBA do the looking up.

But I don't know how. I would like to be able to let VBA look for the file in Explorer, select it and then stop. I could then drag and drop the selected msg file in my new email. But all my attempts to find example code end up with code that enables a user to select a file and immediately open it. That is one step too far for me. If the msg file is opened, I cannot add it to a new email as an attachment anymore.

View 7 Replies View Related

VBA Clicking Links In Internet Explorer

Feb 11, 2014

I have some problems with VBA. So the problem is that there is this page Page (if you want to get to this page with the program you have to write "Krateris" into the msgbox) and I want that the program would click the link in the first result or selected result

So this code is working just I need to expand it to get the result which I wrote above. I am writing this code in module not in worksheet.

Code:
Sub test()

Dim btnInput As Object
Dim IE As InternetExplorer

Set IE = CreateObject("InternetExplorer.Application")
company = InputBox("write company name")

[Code] .....

View 6 Replies View Related

Open Windows File Chooser At Default Location

Feb 14, 2012

Is there any way of making the default directory location for application.getopenfilename work properly with shared locations?

Presently I use ChDrive then Chdir but I cant use ChDrive if workbook is opened from a link in email for example. Please see below

I have a VBA routine that asks the user to load an existing file on startup.

I want the window for the file selection to open at the same folder every time. (the folder is on a shared drive)

The workbook to run the code will always be located on this same share at a fixed location.

My present code builds the path to the desired opening folder by collecting the drive letter from the current working directory (which has to be done as everybody maps there shares to different letters here, its not guaranteed to be the same! )

then i ChDrive to this letter.

Then I ChDir to letter plus myKnowndirPath

This works fine, the window always opens at my required folder. But only as long as the user has navigated to the folder containing the spreadsheet and then ran it from there. Because that way a drive letter is available.

However i found that if i sent a link to the workbook or its home folder. And the user opens the link or a windows explorer from that link and then runs file from there.

Then it stops working beacause there is no local drive letter in the working directory path. i.e. working directory shows as

'network \shareddrive
ootafolderanother arget

instead of something like
J:afolderanother arget

View 2 Replies View Related

Low Memory Launching Windows Explorer

Jul 7, 2007

how to launch windows explorer from a path that resides in a cell using the code below.

Sub LaunchWindowsExplorer()

Dim PID As Double
Dim strRootPath As String

Const strExpExe = "explorer.exe"
Const strArg = " " '" /e,/root, "

'// Change rootpath here
strRootPath = "J:MyDirectoryWilliams,Bob 7264"

PID = Shell(strExpExe & strArg & strRootPath, 1)

End Sub

The problem I have is that once I have done this a number of times (probably somewhere between 80-100 times then I notice windows explorer starts to play up as if running out of memory. A reboot soon fixes that, however, I was wondering if there is anything I can add to the code to keep it from hogging up memory...if that is even possible.

When I say 80 - 100 times, I don't mean opening up 80 - 100 instances of windows explorer. I mean launching windows explorer, moving some files then closing that instance of windows explorer. Then coming back into excel and repeating that process.

View 9 Replies View Related

Multiple Instances In Project Explorer

Dec 20, 2006

If from a macro I open "workbook A" from within "workbook B" then "workbook A’s" VBA project remains in memory and in the VBA project explorer. If I then run the macro again I have 2 instances of workbooks A VBA project showing, and so on. I read on this forum that if you have a public variable that links the workbooks then this is the reason but I have created a test workbook with the following code

Sub test()
Workbooks.Open ("C:Path Data.xls")
Workbooks("Path Data.xls").Close SaveChanges:=False
End Sub

If I run the macro test the workbook opens and then closes but its project remains open. How do I remove the projects when I close a workbook?

View 7 Replies View Related

Copy The Information In A Windows Explorer Page

Jul 10, 2007

Is there a way to copy the information in a Windows Explorer page into Excel?

For example, for any given folder or sub-folder in Explorer, I'd like to copy the NAMES of (i.e., not the file itself or the contents of the file) FILENAME, SIZE, TYPE, MODIFIED date, etc..

View 11 Replies View Related

Prevent Overwriting Of Files In Windows Explorer

May 14, 2009

Perhaps, this question is much more related to Windows API but I thought of posting it here incase I get some more ideas.

I am looking forward to develop a program wherein I can prevent or avoid an Excel file being overwritten by a different file with the same name in the same location in windows explorer.

After a rapid search on the internet I have got something which I could use but that would just serve me the purpose of retreiving the overwritten file in windows explorer.

View 9 Replies View Related

Launching Windows Explorer Path Error

May 27, 2007

I am trying to launch windows explorer from within excel vba. The routine below is borrowed from another post on this site and modified for my purposes.

Sub LaunchWindowsExplorer()

Dim PID As Double
Dim strRootPath As String

Const strExpExe = "explorer.exe"
Const strArg = " " '" /e,/root, "

'// Change rootpath here
strRootPath = "J:MyDirectoryWilliams,Bob 7264" ..............

View 9 Replies View Related

Excel 2003 :: Slow Startup On Windows XP SP3

May 4, 2009

I'm currently running MS Excel 2003 on Windows XP SP 3. When I launch Excel from the start menu, it starts right up. When double-clicking an Excel file, it takes approximately 45 seconds to a minute to launch and open the file. This happens no matter what the file size.

View 1 Replies View Related

Entering Input And Clicking Buttons During Loop

Mar 22, 2009

I am basically creating a questionnaire style program where the user gets asked 50 questions, one by one and they input their answer and press another button (submit button). They initially press a start button to start the questionnaire.

So far, I have created a range of questions and it fills one row where the questions are entered. In intend to use a for loop to go though all 50 questions.

Now this is where I’m stuck. I have a submit button and after each question is displayed, I want the user to enter their answer and then click the submit button to then continue to the next question.

However, I can’t think of how to do this.

1.Firstly, how can I loop through the questions and yet allow the user to input their answers after each iteration?

2.Also can I even click the submit button during the loop phase? I.e. when already running.

View 3 Replies View Related

Change Automatically Without Double-clicking?

Apr 14, 2014

A
B
C
D
E
F
G

I have a spreadsheet with formulas in column C, D, E, F and G. The only numbers I need to enter are in columns A and B. The formula in column C comes from the =SUM(B1/A1) Column D is calculated based on the result of column C, etc...

How can I set up the spreadsheet so that when I enter the data in column A and B, everything else calculates automatically; without having to double click and press enter in each cell?

My Goal: To put data (numbers) in Column A and B and than have C, D, E, F and G calculate by themselves without clicking.

All of my cells contain numbers, not text

View 6 Replies View Related

How To Get A Userform By Double Clicking A Cell

Jul 26, 2008

how to get a userform by double clicking a cell.

I have created a userform, (my first one)-very simple form, i have created a massive textbox, so when i doubleclick a cell in Sheet 1, userform pops up and I can write comments.

I am not sure how to write a code for this? I know it will have Private Sub Doubleclick, not sure on the rest?

View 9 Replies View Related

Slow Performance Entering Values On Spreadsheet

Jul 3, 2014

I have a home finance spreadsheet that I've been using for a few years and in the last couple of days it's ground to a halt. Whenever I enter a value in a cell and hit [ENTER] there is a long delay with the spinning wait icon (Windows 7) and the Excel window reports "Not responding". Eventually (3-4 minutes) the update occurs and everything is fine.

The workbook has 9 sheets on it but only one summary sheet references the others. The sheet I'm updating has about 2200 rows, 50 columns and the formulas are simple A+B-C types. Performance DOES NOT improve if I change recalculation to manual. The only VBA is some macros to perform tasks and they don't execute dynamically. Adding comments and changing formats responds immediately, it is only updating values that exhibits the problem.

I've tried replacing all formulas with their values (paste special/values) across the sheet but again this didn't work.

View 4 Replies View Related

Hide Column On Double Clicking Certain Cell

Feb 1, 2009

I want to hide and unhide column AI by double clicking on a certain cell, let's say S25. Can this be done?

View 8 Replies View Related

Combine Two Macros And Run Them On Double Clicking A Cell

Mar 20, 2009

I have two pieces of code. The first one puts a tick mark in the cell when you double click it. The second one hides column B of another sheet if the value in cell A1 of Sheet1 is "a". I want to combine these two codes so that when I double click cell A1 of sheet1 it puts a tick mark in the cell and hides column B of Sheet2 and clears the contents of range B2:B50 of Sheet2.

View 4 Replies View Related

Excel 2010 :: Double Clicking Rows Is Not Expanding To Wrapped Text?

Mar 31, 2014

My cells have wrap around text enables. However when I double-click the row, it does not automatically adjust the row height to accommodate all of the text. It shrinks to a small row height. How do I fix this?

View 1 Replies View Related

Excel 2010 :: Double-clicking On Pivot Table / Multiple Worksheets

May 31, 2011

I upgraded to Excel 2010 from Excel 2000 a couple months ago. In Excel 2010, after double-clicking on values in a pivot table to create a new worksheets, I'm unable to highlight those worksheets and add a column to all of them. I was able to do this in Excel 2000... I can't figure out what's stopping it from happening for the life of me. Am I missing something obvious here?

View 3 Replies View Related

Excel 2007 :: Open Or Import A PDF File?

May 27, 2013

Is there a way to Open or Import a PDF file in Excel 07 ?

View 2 Replies View Related

Excel 2007 :: Hyperlinks - Cannot Open The Specified File

Oct 17, 2013

I received a USB drive from a client with an Excel spreadsheet with hyperlinks to PDF's (not sure of the version it was originally created in but my version is 2007). The PDF's are in another folder on the USB drive.

The cells with the hyperlinks have a formula to hidden cells [i.e. =HYPERLINK(C17,B17)] - in column B is the name of the hyperlink and in column C looks to be the file trial to the PDF (please see attached picture).

When I select the link, I get an Alert Box stating, "Cannot open the specified file." How I can get these links to work?

Excel Hyperlinks.png

View 1 Replies View Related

Open File With Changing Filename-2007

Aug 1, 2008

I would like to create a macro to open a file in Excel 2007. My problem is that the filename changes often. After updates are made the filename is changed and the old file is moved to a backup folder. So, there is only one similar file in the folder

My filename is "RFQ Worksheet 7 29 2008.xlsx".
The path is "C:Documents and SettingsahaynijDesktop".

View 5 Replies View Related

Open Folder In Explorer

Jul 18, 2008

I was wondering if it is possible to use a macro open a folder in Windows Explorer. Previously someone on this forum taught me how to open an Excel file from a macro, but in this case there will be a new file every week. As the files will all be stored in the same folder, I thought it would be easier to open the folder in the normal Explorer view and select the file manually than to change the macro every week.

I am using Windows XP and Excel 2003. My programmes are run from the C drive, but my documents are stored on the E drive. What I am looking for really is a line that says: open in Explorer E:data
ewprocessed.

View 12 Replies View Related

Excel 2007 :: Non-existent File Tries To Open Upon Startup?

May 4, 2013

I have Excel 2007

Every time I start up excel whether it's opening a new spreadsheet or an existing one it tries to open one that I had deleted a while ago. I have nothing in my xlstartup files and I have thoroughly searched all files around it, before it, after it, and all in between. I went to Excel Options>Advanced>General and there is nothing in the field where it says "At startup open all files in:"

It seems to be trying to open the file from my desktop.

View 8 Replies View Related

Excel 2007 :: Macro To Open File From A Folder

Oct 19, 2012

I just need a macro to open any excel file may be 2003, or 2007 from a folder.

I did tried Dir but not working. I want the macro in 2007.

View 4 Replies View Related

Hyperlinks To Open Picture In Internet Explorer

Jul 10, 2009

When I add hyperlinks into excel the picture shows up by using internet explorer when I want it to use windows picture and fax viewer.

How do I change it to open in windows picture and fax viewer???

I use Windows XP professional and Excel 2003 SP3

View 8 Replies View Related

Excel 2007 :: Macro To Open A Folder Then Prompt To Allow Manual Selection Of File?

Sep 9, 2013

Its been a while since I did this on 2003 and needing a pointer on 2007.

Just needing a simple macro that opens the relevant folder from a hardcoded path to allow the user to manually select the file to be used.

This file will then be used to copy from and paste to another file.

View 8 Replies View Related







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