PERSONAL Loads Now Not Book1

Jun 6, 2006

I had made some code changes that didn't end up working as I wanted and this called for PERSONAL to be called and acted on when excel was activated. Now I have deleted the code but still on opening excel is persists in loading PERSONAL. urk. How can I go back to loading Book1 on open?

View 9 Replies


ADVERTISEMENT

Using Book1 In A Macro

Jan 19, 2007

I have a macro that I run every day that creates a new book - Book 1, does stuff to it and saves it with a new name.

I always leave my computer on (and logged on) overnight. when i leave for the day, I just Lock it - CTRL ALT DEL - Lock Computer.

almost always this works fine, I run that macro every day, and almost always it uses Book 1 when creating the new book. Even though I haven't logged off/on since the last time it ran...And the macro works fine referring to Book1.

But every once in a while, I can't put any schedule on it, it doesn't work. Excel remembers that I've already created book1, and moves to book2. then the macro fails because it's looking for book1. - easily remedied by debugging and replacing book1 with book2....but a pain.

I also notice that at the same time that happens, I have another wierd problem...

I have a web query that I refresh every day. When I first open the worksheet for the day, I have to go and enter the userid/password for the web query.

but any time the 1st problem is happening, I no longer have to put in the userid/password in the web query.

here's the snippet of code that copies 4 tabs from one workbook and puts it into a new workbook...

Sheets("Manager MTD").Select
Sheets("Manager MTD").Copy
ActiveWindow.ActivateNext
Sheets("Manager WTD").Select
Sheets("Manager WTD").Copy Before:=Workbooks("Book1").Sheets(1)
ActiveWindow.ActivateNext
Sheets("Agent MTD").Select
Sheets("Agent MTD").Copy Before:=Workbooks("Book1").Sheets(1)
ActiveWindow.ActivateNext
Sheets("Agent WTD").Select
Sheets("Agent WTD").Copy Before:=Workbooks("Book1").Sheets(1)
the end of the macro saves the new file with filename ACP_Temp.xls

View 9 Replies View Related

Macro To Create New Workbook With Name Other Than Book1?

Oct 28, 2008

I'm tryign to create a macro which will copy certain worksheets into a new workbook (i.e. Book1), and the macro continues to work with this Book1. Is it possible to create a more robust macro which will rename Book1 into something usable (i.e. "Report")? because if the session of Excel has already had another worksheet, it will go to Book2, and then the macro won't work.

View 5 Replies View Related

Vlookup: Month Loads Into The Columns To The Right

Jan 24, 2009

i have a drop down menu listing all the months (as displayed) and once I pick a month, anyone that has an anniversary OR birthday during that month loads into the columns to the right.

I have tried various ways of doing it but for some reason It just wont pull the info right. The previous posts have shown me scripts for Vlookups and a variety of other things. But the end result was not exact.

View 3 Replies View Related

Loads The Data Into The Pivot Table

Jan 9, 2010

I have the following code which loads the data into the pivot table.

View 2 Replies View Related

Userform / How To Get Scrollbar To Be At The Top When Form Loads

Dec 13, 2012

I've got a formbox that has scrollbars and when the userform starts up the vertical scrollbar is centred, meaning people can't see the top of my form. How do get the scrollbar to be at the top when my form loads?

View 2 Replies View Related

Userform Re-loads Automatically After Being Unloaded

Dec 24, 2008

When I click the command button that is supposed to close the userfrom, it closes it but it re-appears again. It closes completely when I click the "Cancel" command button again. It seems to reload the userform when the command button is initially clicked.

Private Sub CommandButton1_Click()
Unload UserForm2
End Sub

View 9 Replies View Related

Excel 2010 :: Insert Loads Of Images At Once

Mar 11, 2014

I've recently purchased an add-in for Excel 2010 called Image Assistant. It allows you to insert loads of images at once and automatically puts them in the cells for you, which is what I need to create quotes for my business. It was painstaking to go through resizing each picture individually so I thought I'd give this a go...

The demo of the program worked fine, except it restricted you to one picture at a time and I have thousands to go through. It resized the picture great and put it in the cell as I expected.

So I purchased the full product. There didn't seem to be an option to just put a license key into the demo version to make it full, and I was sent a link to download the full version, so I did.

When in Excel, I click the icon in the add-ins window and Excel grinds to a halt. It stops responding instantly and then won't do anything until I force close it, at which point it pops up with "Automation Error" and then closes the program.

I've checked DEP settings, trust center settings, add-in settings. I've tried 'repairing' Microsoft Office in case it was an issue with Excel itself but that didn't work. I've uninstalled and reinstalled the add-in several times and it still freezes every time I open it.

Problem signature:
Problem Event Name:AppHangB1
Application Name:EXCEL.EXE
Application Version:14.0.7109.5000
Application Timestamp:522a4031
Hang Signature:31f9

[Code] ............

View 4 Replies View Related

Have The First Value From Combobox Selected Every Time The Form Loads/opens

Jun 2, 2006

I have a combobox with populated values from a named range. I need the first value to be always selected when the form is opened - is there a way to do this

View 7 Replies View Related

Excel 2010 :: Email Automatically Loads Outlook Mail?

Jan 24, 2012

what is the proper terminology for the Outlook "Thing" that opens up in excel (shown below)? Is it simply a toolbar? Add-in?

Second question, I have a excel file that automatically loads the outlook "Toolbar" each time it is opened.

The file was made in 2010 and password protected and locked, sent to a worker who edited the appropriate fields and saved, and then they sent the file back to me (2003 Format). Now this file automatically loads the outlook toolbar. I am trying to trouble shoot so what would cause this behavior?

View 4 Replies View Related

Close Book1, Open Book2, Activate Macro1 Of Book2

Mar 6, 2010

I have this code in Book1:

sub OpenCloseMacro1()
Workbooks.Open Filename:="E:closeopenBook2.xlsm"
Workbooks("Book1.xlsm").Close SaveChanges:=True
Application.Run ("Book2.xlsm!Macro1")
End Sub
It closes Book1 and saves it, it opens book2, but Macro1 does not activate. Why?

by the way. Macro1 is:

Sub Macro1()
Userform1.show
End sub

sub OpenCloseMacro1()
Workbooks.Open Filename:="E:closeopenBook2.xlsm"
Application.Run ("Book2.xlsm!Macro1")
Workbooks("Book1.xlsm").Close SaveChanges:=True

End Sub
It opens book2, and activates macro1, but Book1 is not closed

View 9 Replies View Related

Userform Loads Combobox Values Upon Userform Initialize

Oct 1, 2009

I have one userform that loads combobox values upon userform Initialize. Though through a second userform changes can be made to anotherworkbook this workbook is saves any changes. when i close the second userform i need to rerun the 1st userform Initialize event to update the combobox's incase changes have been made.

View 5 Replies View Related

What's In Your Personal.xls

Jun 15, 2009

After using =Char(Mid(A1, 15, 1)), =Char(Mid(A1, 16, 1)), =Char(Mid(A1, 17, 1)), ... a few hundred times in years past, I made a form and wrote some code to list the contents of a cell in binary. It's been handy.

I recently added support for Unicode, so it may not be fully cooked (or maybe reheated), and double-width Unicode characters are problematic.

In addition to adding the attached form to the workbook, this needs to go in a code module.

View 14 Replies View Related

Personal.xls Won't Open

Jan 18, 2010

i can't get personal.xls to open when excel opens, i have then file both in xlstart map in the path's

C:ProgramMicrosoft OfficeOFFICE11XLSTART

and

C:Documents and SettingsjohoApplication DataMicrosoftExcelXLSTART

where "joho" is my account. i think my problem started when i added some addins

View 3 Replies View Related

Add A Function To Personal.xls

Sep 25, 2009

I have a function saved in my Personal.xls (attached) but it is returning a #NAME error when used in other sheets. I am guessing that the NAME error means that the function can't be seen by other excel woorkbooks. I have already checked the following with no result:

1. Testing the code in a different workbook.
2. The code is visible in the script editor, but personal.xls is open but hidden.
3. When I open Tools>Macro>Macros the option of "All Open workbooks" is selected from the drop downbox.
4. Macro security is on low.
5. saving the function as a .xla file and running as an add-in

View 4 Replies View Related

How To Delete Personal (.xls)

Jan 5, 2010

I have been working from help pages to try and learn and have added a personal(.xls) to my version of excel. Unfortunately I have saved some lines of code (as in the attachment screenshot) that appear to be interfering with the code that I have in some other workbooks. I cannot find a way of deleting this code or how to delete the personal(.xls) part of the VBA editor.

View 7 Replies View Related

Locate Personal.xls

Mar 16, 2006

I have installed Excel on my new computer. Went to save a macro and I cannot locate the file "Personal.Xls"

Inside of Excel I can unhide "Personal.Xls" and it is visible.

View 9 Replies View Related

Run Macro From Personal.xls

Oct 10, 2007

I have several macros set up as modules in my personal.xls. There is one particluar macro (for purposes here I will call it "SourceMacro") which I use repeatedly in other macros (also stored in personal.xls). What I have been doing is copying the code from SourceMacro and pasting it into other macros.

I understand that I can actually run the SourceMacro without pasting the code by using a run command. I have inserted the following code into one of my other macros, but get an error message saying that the SourceMacro can not be found. (I have checked spelling carefully.)

Run "Personal.xls!SourceMacro"
Excel 2003 / Windows XP

View 9 Replies View Related

Run A Macro In Personal.xls

Aug 12, 2006

I have a macro to insert rows and add formatting in personal.xls, which will run from another worksheet when using alt+ f8 with no problems.

However, I am trying to run it from a macro in the second worksheet and have tried :

Call InsertRows

and get a Compile Error: Sub or Function not defined.

Application.Run "insertrows"

and get a Runtime Error '1004': the macro '...' can not be found.

Application.Run "Personal.xls!insertrows"

and get no error message, but the rows are not inserted.

If I copy the Sub code into the new worksheet, and then use Call, everything acts as it should.

Is the third method the correct way of calling the macro, and if so, what would cause it not to do what it is supposed to do?

View 8 Replies View Related

Monving Macro From PERSONAL.XLS

Nov 21, 2008

I have (and will be) creating a number of macro in my personal workbook, a number of which will be run from within other macro also in my personal workbook. I am creating these to be distributed to members of staff within my work. This will be done by creating a template workbook for the job to be done, and e-mailing them all a copy. Now, I can not work out how to move the macro from my personal workbook into the new template so they can be run from there? Also, the macro that access other macro have a path to my personal workbook, will this be updated automatically when they are moved, or will I need to manually change them

View 3 Replies View Related

Save All Macro(s) In Personal.xls

Jan 2, 2009

I have quite a few macro's saved on my personal xls file. Anyway for me to save them with the current date to a specific folder?

e.g. MacroNameDate.bas

View 5 Replies View Related

Converting Personal.xls To Addin

Jul 7, 2009

Basically, I want to convert my Personal.xls VBAProject to say, MyMacros.xla so that I can then create a menu bar item with those addin Macros listed... I've got the code for that part ...

View 14 Replies View Related

Personal.xls Not Giving Functions

Aug 7, 2009

I referred the above two articles and accordingly created Personal.xls file in XLSTART folder. Here is the screenshot: http://dl.getdropbox.com/u/872430/excel.png I have done nothing else to the workbook except what is seen in the screenshot.
I have tested the funtion by using it as a formula in the Personal.xls file.
When I start Excel, Personal.xls does start up but the funtion is not available to my in my other workbooks. Is there anything that I have missed out?

View 4 Replies View Related

Personal.xls Is Missing In Action

Feb 25, 2008

Last friday my personal.xls file went missing. I cannot find it anywhere which means I am missing about 10 key macros. While it is not the upset of the century, my problem is that now when I go into Record Macro and try to "Store New Macro in:" -> "Personal Macro Workbook" and then click OK, Excel brings up a msg box that says:

Personal Macro Workbook in the startup folder must stay open for recording.

Click OK and Excel says:

Unable to Record

View 9 Replies View Related

Unhiding Personal Workbook

Jun 12, 2009

I search the web and found a few different instructions, however the all lead me to the same point. My unhide button is greyed out and not an option. The workbook is in the correct location on my machine, etc. For some reason I cannot unhide it and have it show in my VBA window...

View 9 Replies View Related

Personal File Not Opening

Jun 6, 2006

I am having a problem that shouldn't be that hard to fix, but I can't seem to figure it out. I have a file in the xlstart folder, called "personal.xls" with macros in it. The security level is at low, it isn't on the disabled list, and it won't automatically open when excel opens. If I double click on it, it opens. It just won't open when excel is first started. Is there any way to correct this?

View 2 Replies View Related

Personal.xls Locked For Editing

Dec 9, 2006

I recently added two excel files to my startup, I receive the file in use error that the personal.xls is locked for editing box when the second file starts to execute. I can open them separately using their icons with no problem, what's the problem with opening them using the startup function. XP professional version 2002 SP2.

View 9 Replies View Related

Macro Run The Personal Workbook Itself

Mar 31, 2007

I am just learning a bit of VBA and developed a macro that runs fine if I used it on any workbook but when I imported it to personal.xls and tried to run it, it runs on the personal.xls itself. I tried inserting a line that activates worksheet(2) but that didn't work.

View 9 Replies View Related

Import Macro To Personal.xls

May 24, 2007

I have found several examples of excellent macro code on this site.

Is there a procedure to import a macro code ( saved as a TXT file) into the Personal.xls file?

For example, the following code removes blank spaces and converts text to proper case.

Is there an easy way to save this as a macro in my Personal.xls file?

'Macro Code to apply TRIM and PROPER functions on the selected range ..

View 8 Replies View Related

Missing Personal Macro Workbook

Aug 26, 2009

In Excel I've always had a Personal file come up when Excel was opened. It may have accidently got closed??? The personal file does not open with Excel and I am unable to find it. It is required to run macros correct?

View 13 Replies View Related







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