JKP Application Development Services.

                    Microsoft Office Application Development

All Comments

Up • News • Excel Headlines • Products • Recommendations • Services • Contact • Excel Articles • Excel Books • Downloads • Links • All Comments • Search

•  •

Search Zoeken

WWW
This site

Go to Ga Naar
Home
Up

Donate Donaties
Did you find something helpful on my site? Consider a donation!
Heeft u iets gevonden waar u wat aan had? Overweeg dan een donatie!

 

Comments on this site, in reverse chronological order.


Page: Download.asp , Comment by: Jan Karel Pieterse (5/15/2008 4:25:58 AM)

Hi Philip,

Odd, AutosafeVBE works fine for me.

Could you please download a fresh copy from my site, uninstall the old one and 

install the new one?


Page:
Download.asp , Comment by: Philip (5/15/2008 4:15:26 AM)

Hi,

brilliant collection of utilities. Thank you.

I am having a problem with the AutoSafe.xla (in MS Excel 2003). Everytime it tries 

to run I get an error message like 'C:\temp\Autosafe VBE.xla!ExportThem' cannot be 

found.

The strange thing is that the add-in is installed in the correct place, so how do I 

fix this behavior.

thanks

Philip


Page:
articles/AutoSizeListBox03.asp , Comment by: Jan Karel Pieterse (5/15/2008 4:10:27 AM)

Hi Andy,

I adjusted the code based on a suggestion by Stephen Bullen and now the repeat is no 

longer needed.


Page:
articles/AutoSizeListBox03.asp , Comment by: Andy Pope (5/15/2008 12:41:28 AM)

This is exactly how I do my column sizing for listboxes.

But there is no need to repeat the resize if you set the Width property to a larger

value. Try setting it to 9999 and comment out the duplication.


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (5/14/2008 2:05:19 AM)

Hi Roemer,

It shows up in the Visual Basic Editor if you have the option "Allow Access To 

Visual Basic project" checked in Excel's security center.


Page:
officemarketplacenm-en.asp , Comment by: Roemer (5/13/2008 5:17:17 PM)

Hi there.

Perfect, I've been using this utility for more than a year and am very satisfied.

However, I cannot find the "tiny but extremely handy toolbar to the VBE" in the 

newest version. Office 2007.


Page:
officemarketplaceff-en.asp , Comment by: Jan Karel Pieterse (5/12/2008 10:58:38 AM)

Hi, 

Yes, please. Send them to 

i n f o AT j k p - a d s . c o m


Page:
officemarketplaceff-en.asp , Comment by: 45678 (5/10/2008 12:09:40 PM)

If you need any error codes or anything, just ask because this would be very useful to me if it worked, thanks


Page:
officemarketplaceff-en.asp , Comment by: Jan Karel Pieterse (5/10/2008 10:44:10 AM)

Hi 45678,

I'll investigate, thanks for pointing this out. Excel 2007 charting is a challenge if it comes to programmability.


Page:
officemarketplaceff-en.asp , Comment by: 45678 (5/10/2008 9:37:50 AM)

I attempted to use this on Excel 2007 to replace a word in chart titles, when i searched it froze and messed up. Thanks for nothing


Page:
Articles/DistributeMacro11.asp , Comment by: Jan Karel Pieterse (5/6/2008 12:48:02 AM)

Odd. All Path properties Excel exposes do not have the path separator at the end as far as I know, but you are the second one to report it does contain the path separator at the end and hence there is a duplicate \. I need to investigate this!


Page:
Articles/DistributeMacro11.asp , Comment by: Tim (5/5/2008 2:16:26 PM)

Thanks for the excellent article! 

I used the setup code you described on the last page and found that it installs the addin in the C:\Program Files\Microsoft Office\OFFICE11 directory as opposed to the user's addin directory.

If you make the following tweaks to the code, it will install in the user's addin directory instead.

Thanks for the great code! Saved me so much time!

change application.librarypath  to application.userlibrarypath  (note - you need to take out the extra backslash added on this line:

AddInLibPath = Application.LibraryPath & "\" & sFilename

add the following lines before the 

Else

    vReply = ... lines

Dim xlApp As Excel.Application

        Set xlApp = New Excel.Application line

        Set xlwbBook = xlApp.Workbooks.Open(AddInLibPath) 

        Workbooks.Open (AddInLibPath) 

        xlApp.AddIns.Add(AddInLibPath, True).Installed = True 


Page:
Articles/WebQuery.asp , Comment by: Jan Karel Pieterse (5/4/2008 11:59:59 AM)

Hi Don,

I'm afraid you cannot do that using this technique.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: David (4/30/2008 1:41:23 PM)

I'm not getting the tool bar in the VBE, can you tell me how to load it (using 2003)?

Thanks!

David


Page:
Articles/WebQuery.asp , Comment by: Don (4/29/2008 11:00:55 AM)

Great information!

How do you query a website with a URL address that does not change when selecting options (drop down buttons) within the page?  The page content changes according to the selection but the URL remains the same?  Thanks in advance.


Page:
officemarketplacenm-en.asp , Comment by: kanwaljit Singh Dhunna (4/29/2008 5:33:37 AM)

Hi Jan,

Do mention the changes made in the new version by default. That would be useful I feel.

Regards

CA Kanwaljit Singh Dhunna


Page:
Articles/StartupProblems.asp , Comment by: Jan Karel Pieterse (4/26/2008 12:37:59 PM)

Odd, These are exactly the same as mine.

I'm out of idea's.


Page:
Articles/StartupProblems.asp , Comment by: Dharm (4/26/2008 10:15:53 AM)

1.Carried out the unregserver / regserver from the run command.

2.after which i opened Windows explorer / Tools / folder options / File types / selected the xls extension advanced options. 

checked open command is bold and in edit options

The following is in the text boxes :

Action : &open

App. used to perform action : "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e

Use DDE is checked and DDE message : [open("%1")]

Application : Excel

Application not running : 

Topic : system

I am yet unable to open excel on double clicking. I have uninstalled and reinstalled office 2003 too.


Page:
Articles/StartupProblems.asp , Comment by: Jan Karel Pieterse (4/25/2008 6:39:40 AM)

OK, what about this:

How to reinstate Excel's ability to open files with spaces

in their name/path by double clicking:

1. Have Excel correct it

1. Choose start (Start button), Run, type:

"C:\Program Files\Microsoft Office\Office\EXCEL.EXE" /Regserver

2. Click OK

2. Do it yourself

1. Open Windows Explorer.

2. Choose from its menu: View, Options. (or View / Folder Options in Windows 98)

3. Select the File Types tab

4. Scroll to Microsoft Excel Worksheet 

5. Click Edit

6. Select the OPEN entry (it should be highlighted (bolded)

7. Click Edit and check that the fields are set as follows:

a) Application used: should be EXCEL.EXE, loaded from the correct directory

b) Use DDE should be checked

c) The DDE message should be (exactly): [Open("%1")]

d) Application should be: excel

e) DDE Application not running should be empty

f) Topic should be: system

8. Click OK

9. Click Close

10. If you wish to double-click other Excel file types, e.g. template 

(xlt) or workspace (xlw), select the appropriate type in the File Types

tab and repeat from step (5)

For the XLVIEWER:

- Use DDE turned OFF 

- Command line: "c:\program files\xlview\xlview.exe" "%1"


Page:
Articles/StartupProblems.asp , Comment by: Dharm (4/24/2008 9:49:53 AM)

I have unchecked the Ignore other applications in General Tab and also the open files in text box is blank


Page:
Articles/StartupProblems.asp , Comment by: Jan Karel Pieterse (4/23/2008 11:30:36 PM)

Hi Dharm,

Is by any chance Ignore other applications set in Excel's Tools, options, general?


Page:
Articles/StartupProblems.asp , Comment by: Dharm (4/23/2008 1:10:19 PM)

I use MS excel 2003. 

Recently i had downloaded Google desktop and a few desktop gadgets alongwith it. after using them i started having problems with my MS Excel 2003.

I have the same problem as listed above, i can open excel in safe mode, on double clicking MS excel shortcut a blank workbook opens and excel files also open using the Open command on the menu bar.

The files do not open however on double clicking in windows explorer (Note: The excel application opens)

Have carried out all the above troubleshooting tips, removing add-ins, com addins, registry fixes, .xlb files, .pip files, detect and repair.

I have also uninstalled Google desktop,

and uninstalled and reinstalled MS Office 2003.

The problem still persists even after reinstalling MS office.

Have troubleshooted exactly as done even in the microsoft articles.

Please advise solution


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan Karel Pieterse (4/23/2008 8:06:35 AM)

Hi JPG,

OK, if that is your requirement. You might get away with setting the addin's readonly property to true?


Page:
Articles/UpdateAnAddin.asp , Comment by: JPG (4/23/2008 6:52:27 AM)

Unfortunately, I don't have a choice, the addin needs to be in the XLStart folder.  I worked around the issue by creating a batch file that is run when the addin is closed(when Excel exits) that waits 10s, then deletes the "(OldVersion)" file.


Page:
officemarketplacenm-en.asp , Comment by: kp (4/22/2008 6:57:08 PM)

Thank you so much for sharing the fruit of your hard work to others.

I've just road tested it and found that this is an excellent tool.  Thanks again.

Regards

kp


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan Karel Pieterse (4/22/2008 7:56:17 AM)

Hi JPG,

The code fails because Excel loads EVERYTHING from the XLSTART folder, whatever it may be called.

Addins do not belong in the XLSTART folder, they should be placed anywhere but the XLSTART folder and be "installed" using Tools, Addins, browse. Once setup this way, things should work as advertised.

Regards,

Jan Karel.


Page:
Articles/UpdateAnAddin.asp , Comment by: JPG (4/22/2008 7:08:15 AM)

Hey, I'm trying to use a slightly modified version of this and I am having some trouble getting it to work.  The problem occurs in RemoveOldCopy().  The first time I update, it works fine, however, any subsequent attempts to update fail because  a "Permission denied" error is thrown in RemoveOldCopy().  This is because, after updating once, there is already a file in the XLStart directory named something like Addin.xla(OldVersion) so the line:

Kill TempAddInName

fails because Excel has the file locked.  Even though the file extension has been changed, Excel still loads it.  Is there any way to work around this?


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Jan Karel Pieterse (4/21/2008 7:46:29 AM)

Hi Diana,

I'd first copy the sheet and then just do a search and replace (control+h) to replace the dates.


Page:
Articles/FormulaTranspose.asp , Comment by: colin (4/21/2008 7:45:15 AM)

Thanks Lennox, the original answer was a little intimidating for the layman


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: diana (4/18/2008 1:05:39 PM)

I need to replace dates from one sheet to another sheet. Example: I copy an entire sheet to another sheet but I want to change 8-Feb to 7-Mar. wherever 8-feb occurs. Please advise, the version I use is Windows XP Professional 2003


Page:
Articles/FormulaTranspose.asp , Comment by: Daničle Questiaux (4/18/2008 12:35:54 AM)

As you say very well, your example first is useful(!), but is also one of those examples that clarifies the steps used in VBA, and that is priceless!

Thanks!

All the added comments are also a great idea to have for novices at VBA (I/m one of them).


Page:
Articles/StartupProblems.asp , Comment by: Melissa (4/16/2008 1:37:31 PM)

Hi,

I have XL 2000 at work, WinXP, and when I open any XL file, it also opens my PERSONEL.xls. What could be causing this, and if I try some of the things above, will it stop?

Thanks!


Page:
Articles/UndoWithVBA04.asp , Comment by: Jan Karel Pieterse (4/10/2008 5:23:16 AM)

Hi So,

I'm sorry, that is beyond my expertise.


Page:
Articles/UndoWithVBA04.asp , Comment by: So Theara (4/10/2008 3:04:38 AM)

Hi! I saw ur code about undoExcelVba. But I wanna be to see the implementation about Undo&Redo use in Access VBA. Can you shown it?. 

Thanks... 


Page:
Articles/ControlHandler04.asp , Comment by: Harry (4/9/2008 10:12:04 PM)

I have been looking for this to coordinate 12 comboboxes that drive a selective graphing routine for large data such as weather .

If I can adapt it I will semd you a copy.

Thanks   Harry S.


Page:
articles/WebQuery.asp , Comment by: pauloulu (4/9/2008 3:31:22 AM)

I am new to this forum and I think you all will help me to enhance my 

knowledge. I have been here many times and have always found this to be 

a great place for information and advice about a wide range of topics 

 

Paul


Page:
reftreeanalyser.asp , Comment by: Jan Karel Pieterse (4/8/2008 12:53:21 AM)

Hi Kevin,

Thanks!! Much appreciated.


Page:
reftreeanalyser.asp , Comment by: Kevin H. Stecyk (4/7/2008 6:24:23 AM)

I really enjoy using your program.  I've been using it steadily, and it certainly

helps reduce the burden of understanding someone else's mess, I mean spreadsheet.


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan Karel Pieterse (4/6/2008 4:36:29 AM)

There is no real reason for the difference here. The Ontime method ensures the entire call tree is finished and gives Excel the chance to finish any pending work. It sometimes prevents unexpected behaviour.


Page:
Articles/UpdateAnAddin.asp , Comment by: Eric (4/4/2008 1:53:33 PM)

Just curious why you have AutoUpdate and ManualUpdate run CheckAndUpdate in different ways, as shown below. Is there some advantage in calling a procedure via "Application.OnTime Now, ..."? I just noticed you can't step through the code if you do it that way - interesting...

Sub AutoUpdate()

    CheckAndUpdate False

End Sub

Sub ManualUpdate()

    On Error Resume Next

    Application.OnTime Now, "CheckAndUpdate"

End Sub


Page:
Articles/ExcelNames11.asp , Comment by: Phil (4/4/2008 5:59:26 AM)

Thanks so much for this wonderfull explanation. Sharing my files with my colleagues was a kind a nightmare when trying to explain formulas and links. It is quite a lot easier now!

Kind Regards

Phil


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (4/3/2008 1:06:15 AM)

Hi Dave,

Good point on the position of the text.


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (4/3/2008 1:05:13 AM)

You can do that by unchecking the "Show system names box in the tiny settings list. 

But the "Exclude names" filter IS a good idea!


Page:
officemarketplacenm-en.asp , Comment by: Headtoadie (4/2/2008 8:23:54 AM)

On the "Filter names containing" text box, could you make it so there is an option to exclude items. I usually don't want to see print areas and there is no simple way to not display them in the range name list. 


Page:
articles/catchpaste.asp , Comment by: Brent Leslie (4/1/2008 7:11:30 PM)

Hi Jan,

No worries.  One more potential improvement though I have made in my code which you may find useful.

I often used merged cells in my excel template. The "MyPasteValues" procedure uses the line "Selection.PasteSpecial Paste:=xlValues"  which appears to not work for merged ranges.  By "not work" I mean the value is not pasted into the merged cells.

Instead I have replaced this with the following:

If Selection.MergeCells = True Then

   ThisWorkbook.Worksheets("SheetNameWithTempRange").Range("TempRange_SingleCell").PasteSpecial xlPasteValues

   Range(Left(Selection.Address, InStr(1, Selection.Address, ":", vbTextCompare) - 1)).Value = _ 

ThisWorkbook.Worksheets("SheetNameWithTempRange").Range("TempRange_SingleCell").Value

Else

   Selection.PasteSpecial Paste:=xlValues

End If

This checks whether the selected cell is merged.  If it is not, the code simply works as you have above.  If it is merged, the value of the clipboard range gets put into a temporary cell.  The VALUE of this cell is then assigned to the VALUE of the selected merge cells.  The IsCellValidationOK procedure then runs as per your code.

This indirection appears to allow merged cells to be able to obtain the copied value.  This does have a small downside though - if the sheet is temporary range ("TempRange_SingleCell" in the above snippet) is not on the screen a small screen flicker occurs.  This isn't a problem with my application so I am not finding a way to fix this (until a user complains!) but it could probably be fixed with a couple of Application.ScreenUpdating calls.

Thanks again!


Page:
officemarketplacenm-en.asp , Comment by: Dave Mackmiller (4/1/2008 8:18:16 AM)

Jan,

Thanks for the useful tool.  I've been using it for a couple of years now.  Funny, I also wrote a utility similar to your "Highlight" function, and never noticed that you had one too.  The only difference, which I prefer, is that the name of the range is displayed in the upper right hand corner of the text box in 10 point Arial bold.  This means that I don't have to scroll around and/or zoom to find the name.  Most of my ranges are of different sizes, so this makes it easier to work with.

Also, I only highlight ranges on the active sheet, for speed purposes.

Another thing I found handy is a "Highlight for 5 seconds" command.  I'm usually in the area where I know the range is that I'm looking for, so I only need to be reminded briefly (it also closes the utility userform).  I just use application.ontime to call my sub for clearing highlights.

Finally, it wasn't too hard to reuse the textbox code to highlight cells that are unlocked.  I know it's outside of the scope of NameManager, but it's very useful if you have to protect your worksheets.  The trick there is to combine blocks of unlocked cells into a single textbox so you don't potentially wind up with a zillion textboxes.

Anyhow, thanks again for a great tool.

Dave


Page:
articles/catchpaste.asp , Comment by: Jan Karel Pieterse (4/1/2008 4:26:03 AM)

Hi brent,

Well spotted. I'll correct this.


Page:
articles/catchpaste.asp , Comment by: Brent Leslie (4/1/2008 3:18:05 AM)

One problem though - you don't declare the GSAPPNAME variable anywhere - I take it it's a global that normally holds the name of your application.

Otherwise, this works sensationally! I am even using it in Excel 07 without any problems.

Thanks again for saving me having to code this myself!


Page:
articles/updateanaddin.asp , Comment by: jeffersonwhite (4/1/2008 3:14:00 AM)

Thanks for an interesting post


Page:
articles/catchpaste.asp , Comment by: Brent Leslie (4/1/2008 2:28:47 AM)

Hey Jan, this is an excellent article and solves a problem I have been thinking about for a while.  Thanks for putting the effort into sorting this all out, it means I don't have to worry about it so much and can get on with the rest of our development.


Page:
articles/updateanaddin.asp , Comment by: Elashdaf (3/31/2008 7:58:22 PM)

Hello 

Wasjust serfing on net and found this site...want to say thanks. Great site and content!


Page:
articles/Excel2007Tables.asp , Comment by: TomasR (3/31/2008 1:30:43 AM)

One peculiar functionality:

If you have a cell which is validated using a list one would think using a tables name (and column perhaps) might work. But no.

To make it possible to use the table you must create a common name that in turn refers to the table and then use the name as the validation list source. Simpler than per Excel 2007 but still one step to much.


Page:
officemarketplaceff-en.asp , Comment by: Steve E. (3/27/2008 2:34:27 PM)

Jan, great add-in, thanks for the work.


Page:
articles/AddinsAndSetupFactory.asp , Comment by: Jan karel Pieterse (3/27/2008 8:17:49 AM)

Hi Swapnil,

I assume you're using SUF for this. In the Setup factory session variables you enter the right destination path for the add-in. But I think you'd have to do this differently, since your setup program does not have to copy the addin to the network location each time (just once), it just has to set the proper registry entries.

You need two steps:

1. Copy xla to network folder (set its property to readonly, so you can easily replace it when needed)

2. Create logon script for users that sets the registry entries.


Page:
articles/AddinsAndSetupFactory.asp , Comment by: swapnil (3/26/2008 2:02:25 PM)

Hi Jan.

Thanks for the imformative article. If I want to add an addin from a network drive without actually copying it to the local pc then how would I do that with the script?

Thanks again.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan karel Pieterse (3/24/2008 7:42:54 AM)

Hi NG,

Try cleaning out your temp folder and removing all .exd files from this folder:

C:\Documents and Settings\[your Username]\Application Data\Microsoft\Forms 


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Ng C C (3/22/2008 9:50:45 PM)

Hi,

Judging from what I read in this webpage, I certainly believe that this is a great tool.

I have downloaded it and add to my excel 2003 but hit an error Massage as follows:-

"Compile Error in Hidden Module: fx|NameManager."

Kindly advise what is the cause of it and how I can have it fixed. 

Thanks 

Ng C C 


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Amit (3/22/2008 1:34:01 PM)

Amazing help.... Thanks a ton !!!


Page:
articles/objectlister.asp , Comment by: Jan karel Pieterse (3/16/2008 10:13:37 PM)

Hi Eric,

No, I don't think there is.


Page:
articles/objectlister.asp , Comment by: Eric (3/14/2008 3:25:40 PM)

Excellent work, once again.

Is there an Object that corresponds to current Watches in the VBE?

If there was, I'd like to change (in my copy) "Selection" in the "Set .ObjectToList = Selection" line to whatever it would be. Of course, I could do it one-by-one, but it would be more convenient if there was a Watches object.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan karel Pieterse (3/14/2008 7:15:42 AM)

Hi Matthew,

Of course we could. We just haven't got round to it, that's all. 

Thanks.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Matthew (3/14/2008 7:14:52 AM)

When searching for unused named ranges, would it be possible to enable searching of INDIRECT, conditional formulae, etc. with the understanding 

that the process will take a long time?  Or has this process not been included due to its complexity?


Page:
officemarketplacenm-en.asp , Comment by: Dave B (3/11/2008 11:44:32 AM)

Jan,

Sorry it took so long to get back to you, but I did try to install under another user and it had the same issue.  I don't know if this helps, but I have seen issues with several programs installing on my machine due to the Windows File Encryption applied to the User Folders in our Corporate environment.  Usually, this is an issue with programs that attempt to authenticate the file that is being installed because the encrpytion alters the size or signature slightly and when the installer compares it to what is expected it doesn't match.


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Jan karel Pieterse (3/11/2008 2:34:26 AM)

Hi Gene,

No, unfortunately it does not allow you to do just that.


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Gene (3/10/2008 11:58:53 AM)

Will this tool allow me to enter a string in the cell immediately to the right of the occurance of several different strings in a worksheet?


Page:
officemarketplacenm-en.asp , Comment by: Jan karel Pieterse (3/6/2008 9:00:58 AM)

Hi Tom,

I think you need to set "Allow access to Visual basic project" in Tools, Macro, security, trusted sourcs tab.


Page:
officemarketplacenm-en.asp , Comment by: THughes (3/5/2008 2:51:40 PM)

Just downloaded and installed the name manager - version 4.1 build 596.

All works well in Excel however I am un able to use or find for that matter the "niffty" feature added to the VBE - the insert name drop down tool bar.  That would be most usefull.  Is there some action within VBE that must be taken to make it work? or is there some place to select and enable it?

Many Thanks for your hard work,

Tom


Page:
Articles/WebQuery.asp , Comment by: Juan (3/5/2008 12:32:06 PM)

the history data that i down to my excel query are on CVS. How can i converter this datas for what excel read as a real number and to CSV

Thanks for you help


Page:
Articles/CorruptFiles.asp , Comment by: Nilkanth (3/4/2008 7:59:02 AM)

Dear Sir,

     The page is very knowledgeful. I reached to this page and I hope that I have a protected & too many formatted file (Pay Bill Excelfile)I cant open it.  Please reply me on my above e-mail ID (npbhoge@rediffmail.com) how can I open file. OR How can I send that file to you to solve my problem. 


Page:
officemarketplaceff-en.asp , Comment by: Jan karel Pieterse (3/3/2008 10:23:54 PM)

Hi Don,

Depends what you need exactly. You can type the replacement text as it appears in the multiple cells, but it has no way to paste multiple cell content into the replacement box directly.


Page:
officemarketplaceff-en.asp , Comment by: Don (3/3/2008 1:22:55 PM)

Looking to replace one cell of text with a list of text in serveral cells. Will this add-in do that?


Page:
Articles/Excel2007Tables.asp , Comment by: Gabor (3/3/2008 4:50:30 AM)

Thanks Jan karel,

your suggestion is a good one for me. I can have the formatting but no need to deal with the filtering and other stuff. The process is to use the "Format as table" option then convert the table back to range. The filtering and the annoying columnnames are gone.


Page:
Articles/Excel2007Tables.asp , Comment by: Jan karel Pieterse (3/3/2008 3:52:44 AM)

Hi Gabor,

I think there is little choice: with formatting as a table you get the filtering.

Indeed does a "table" need unique headings for each column, there is no way around that I'm afraid.

However, you can have just the formatting, by first converting the range to a table (which demands column headings) and subsequently reverting the table to a range.


Page:
Articles/Excel2007Tables.asp , Comment by: Gabor (3/3/2008 1:48:41 AM)

Hi, any hints about how to autoformat a table if I don't need the fancy filtering and summarizing option? My other issue is that how it is possible to use this "Format as Table" function when the number of columns in the header differs from that of the data? For example in the header I have one column for "Size" but in the table I use two columns for this as the quantity and the unit (10 ft)?


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Jan karel Pieterse (2/27/2008 5:29:11 AM)

Hi Vicky,

It is quite likely Flexfind will do what you need, just try!


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: vicky (2/27/2008 4:42:29 AM)

hello i am looking to do a simple search can your tool thingie help me????? an soo i will be needing to do a complex search! any idias? can you help??? write back asap plz xx


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan karel Pieterse (2/26/2008 11:17:14 PM)

Hi Matthew,

It refreshes with switching of workbooks. Might be nice to have a refresh button though.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Matthew Pfluger (2/26/2008 3:00:12 PM)

When does the VBE Insert Names toolbar refresh its list?  I'm having issues where it doesn't have the most up-to-date listing of names?

Also, I'm afraid that I'm going to have to request that an interface through the VBE similar to the Excel interface be included soon.  It's quite difficult to weed through the many names through a drop down box.

Thanks again for a great tool!  I use it daily.


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan karel Pieterse (2/26/2008 11:24:39 AM)

Hi Brain,

I hope so, don't have a MAC. Make sure you remove the InternetGetConnectedState declaration lines as well.


Page:
Articles/UpdateAnAddin.asp , Comment by: Brian (2/26/2008 10:48:03 AM)

Will getting rid of IsConnected make it Mac compatible?


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan karel Pieterse (2/26/2008 9:53:34 AM)

Hi Brian,

I guess you're correct, IsConnected isn't in use anymore so you could get rid of it.

Of course security on your site is a different matter, up to you to decide how you arrange that. I just have the file available in a specific folder.


Page:
Articles/UpdateAnAddin.asp , Comment by: Brian (2/26/2008 8:21:27 AM)

Will this work on Mac machines? I'm guessing "no" since there's the dll call in the "InternetGetConnectedState" function, but it also appears that this function is unnecessary (the "isconnected" variable doesn't get used anywhere, as far as I can tell).

I also have concerns about security. I have free, beta and full versions of my app. I would like all of them to have this update capability. Would it be reasonably secure to have each in a separate sub directory on the web, with indexing disabled on each of them (as well as on the next higher directory) so people wouldn't be able to just navigate to the files? Obviously, I would need to put in some #if statements in the code to make sure each version gets the proper update.

By the way, thank you so much for what you've made available on this site. It's great!


Page:
RefTreeAnalyser.asp , Comment by: Kristi (2/25/2008 3:26:25 PM)

It would be helpful to see a screenshot of the report...  


Page:
officemarketplacenm-en.asp , Comment by: Jan karel Pieterse (2/24/2008 6:22:25 AM)

Hi Dave,

OK, didn't realise that. What happens if you log on as a different user?

(there is no build 4 to download I'm afraid, but you can dl version 3.2)


Page:
officemarketplacenm-en.asp , Comment by: Dave B (2/23/2008 7:35:49 PM)

The "Allow Access to Visual basic project" was already checked.

I had already tried the suggestion of removing the EXD files that was posted in a previous comment and it didn't help.

Would it be worth trying to install version 4.0 instead?  Is there a way to get the URL to the previous versions?


Page:
officemarketplacenm-en.asp , Comment by: Jan karel Pieterse (2/23/2008 12:01:02 PM)

Hi Dave,

The new feature requires you to set "Allow Access to visual basic project" in Tools, macro, security, trusted sources tab. But even if that option is not checked, it should NOT give you an error.

Check out the advice on removing EXD files above.


Page:
officemarketplacenm-en.asp , Comment by: Dave Barton (2/22/2008 8:26:16 AM)

Thank you very much for this utility, I have a sheet with hundreds of names and your utility is by far the best to handle these.  However, with the installation of the recent version I am getting an error whenever I startup Excel (v 2003) it says: "Compile Error in hidden module Cmenuhandler".  It is clearly linked with Name Manager.xla because when I remove it, the error message goes away.  Also, the new VBE feature that is supposed to list names in VBE is not present.  Even with this startup error message Name Manager is working fine.  I am wondering if the error message is linked to the new feature in VBE.  Can you make a version that makes the installation of this feature optional?  Thanks, Dave


Page:
Articles/SelectARange.asp , Comment by: Rikkart (2/22/2008 7:58:06 AM)

Great stuff, just finding it, and then the workaround!

I couldn't figure out what was wrong, I'll definitely be back here for my next issue!


Page:
OfficeMarketPlacenm-en.asp , Comment by: Deb (2/21/2008 11:30:38 AM)

Suddenly when I try to open up the name manager I get a message box that says "text" and when I click the OK button I get the vba runtime error 9 "subscript out of range".  My only options there are end and help - no debug.


Page:
articles/updateanaddin.asp , Comment by: DetePayoday (2/18/2008 1:27:09 PM)

The only place where I could find what i was looking for. 

I will be back soon.


Page:
officemarketplacenm-en.asp , Comment by: Jan karel Pieterse (2/17/2008 4:02:09 AM)

Hi Dan,

Find this folder on your system:

C:\Documents and Settings\[your Username]\Application Data\Microsoft\Forms

And remove all .EXD files from it. Do the same for your temp folder.

Then retry.


Page:
articles/objectlister.asp , Comment by: Jan karel Pieterse (2/17/2008 3:59:48 AM)

Hi Hal,

I just checked Objectlister 32 using Nod32:

Scanned disks, folders and files: C:\data\ObjectLister\ObjectLister 003.xls

Number of threats found: 0


Page:
articles/objectlister.asp , Comment by: Hal (2/16/2008 5:04:15 PM)

Is there a virus in ObjectLister 003.xls

??

While running control-alt-O after selecting your demo chart, and auto expanding to the maximum depth (5?) I found the code after a couple of minutes elicited symptoms of a virus (?)that was trapped by Outlook warning me that a program was trying to read the address book.


Page:
officemarketplacenm-en.asp , Comment by: DAN (2/15/2008 2:26:03 PM)

I get a visual basic errror when i try to install:

system error &s80004005 (-2147467259). unspecified error

And then it gives me a compile error. 

Any ideas? (running 2007)


Page:
articles/SelectARange.asp , Comment by: Craig (2/15/2008 3:23:12 AM)

I love this solution and prior to excel2003, it worked great.  My company just upgraded to Excel2003 and the test program produces the error "Object Library Invalid or contains references to object definitions that could not be found".  Help!  I need this code to work in Excel 2003!  


Page:
articles/Excel2007Tables.asp , Comment by: Jan karel Pieterse (2/14/2008 9:40:16 AM)

Hi,

Excel Help says that if you hold the control key whilst dragging the columns should stay unchanged. Oddly enough I cannot reproduce what it says in help!


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (2/14/2008 9:23:00 AM)

Hi Kanwaljit,

It should do that, yes. Might depend a bit on your Excel language though, some objects have a bug that may prevent NM to work on those in other languages than English.


Page:
officemarketplacenm-en.asp , Comment by: kanwaljit Singh Dhunna (2/14/2008 3:59:29 AM)

Hi Jan,

Whether renaming a name will change it everywhere in the current version including the validation objects.

Regards

CA Kanwaljit Singh Dhunna


Page:
articles/Excel2007Tables.asp , Comment by: Avner (2/14/2008 3:40:34 AM)

Hi,

i noticed that you can copy-paste, and fill (right or left), a formula that refers to some table columns But you cannot drag it to the right(or left): the columns names orders changes in the formula. Is there a way to make the column absolute ($ ,f4 ) ?


Page:
Articles/StartupProblems.asp , Comment by: Jan Karel Pieterse (2/10/2008 12:49:21 PM)

Hi John,

Have you tried to remove all files in your temp folder and in:

c:\documents and settings\[user name]\Application data\Microsoft\Forms\


Page:
Articles/StartupProblems.asp , Comment by: john (2/9/2008 6:45:44 AM)

hi 

thanks to you for your help in solving various problems for me i have yet another excel constantly tells me that "there are not enough resources to completely show page or object", now this can happen by just scrolling accross a spreadsheet or clicking on a cell , my program does not need any of the add ins to work its just a simple database of furniture and i wrote all the macro's in excel 2003 without any add ins loaded the resource thing started  in excel 2003 i got all the updates ...no effect so i installed office 2007 done updates still same another factor i dont understand is this i have 2  machines

the specs are

1st machine

amd 3.2 

ati x200 video 128mb

1gig memory

200gb hard drive

2nd machine

intel celeron 3.2 

ati x200 video 128mb

1gig memory

200gb hard drive

excel works without a hitch on the amd system 

but on the intel system error after error

after error

 i am sorry to rant on but its just so frustrating and i am also sorry if this is the wrong place for this problem any way thank you for taking the time and thank you fopr your patience

john


Page:
officemarketplacenm-en.asp , Comment by: Matthew Pfluger (2/8/2008 10:19:50 AM)

I found a slight issue.  I created a name while in A1 notation, switched to R1C1 notation, and tried to rename the name.  The Insert Name dialog box popped up and complained that the A1-style address I originally used in the RefersTo of the name was no longer valid.  

Just letting you know in case you want to address the issue.  Thanks!

Matthew Pfluger


Page:
Articles/AddinsAndSetupFactory.asp , Comment by: Ivan (2/6/2008 4:05:16 PM)

thanks for letting me view your guest book and giving me all the information


Page:
articles/corruptfiles.asp , Comment by: Jan Karel Pieterse (2/6/2008 8:35:25 AM)

Recent research has proven that sometimes .exd files in this folder may be causing havoc:

c:\documents and settings\[username]\Application data\Microsoft\forms


Page:
articles/corruptfiles.asp , Comment by: redbeard2008 (john) (2/6/2008 1:59:00 AM)

hi all

i tried all the above methods

each one lost the vba project and macro's i have made several backups of the original file, 

how can one tell if the file has gone corrupt 

if i remove the form and its controls the file works ok (not perfect)but ok

i have left my email in case a memory is jogged along the way

anyway thank you all for your suggestions


Page:
Download.asp , Comment by: Jan Karel Pieterse (2/3/2008 10:20:50 PM)

Hi Tatiana,

I've sent you a sample file.


Page:
Articles/Excel2007TablesVBA.asp , Comment by: Jan Karel Pieterse (2/3/2008 10:20:12 PM)

Hi Jose,

Like this:

    Selection.ListObject.Range.End(xlDown).Select


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (2/3/2008 10:15:39 PM)

Hi Anne,

No, not as far as I know.  I've seen files with as much as 6000 names work properly. But it depends heavily on what your range names contain. If they're all calculation intensive, then you might be up for delays.


Page:
articles/CorruptFiles.asp , Comment by: Jan Karel Pieterse (2/3/2008 10:14:12 PM)

Hi Harry,

Hit the windows key ( the one somewhere to the left of your space bar) and the f key to open windows find and type the file name in the search box.

Make sure it looks in all folders.


Page:
articles/CorruptFiles.asp , Comment by: harry jordan (2/2/2008 8:33:23 PM)

how do I find a corrupt file?  How do you fix a corrupt file if you can;t find it?


Page:
officemarketplacenm-en.asp , Comment by: Ann (1/31/2008 1:34:30 PM)

This is a wonderful utility.  We use up to 400 nested names at a time to streamline validation lists, formulas and look up tools.  However, have encountered huge performance problems, e.g. up to 6 hours to delete or insert a worksheet with no active names.  Is there a limit on nested or embedded names?  Is there some other explanation for the extreme performance degradation in Excel?  Thanks,  Ann


Page:
Articles/Excel2007TablesVBA.asp , Comment by: Jose Manuel (1/31/2008 12:57:16 PM)

Hi to all!

After 'insert below

Selection.ListObject.ListRows.Add AlwaysInsert:=True

How can I select the cell in the first column of the new row?

Thanks in advance


Page:
Download.asp , Comment by: Tatiana (1/31/2008 2:04:58 AM)

Hello, I will like to have the number of pages and the page im in w/o putting it myself manually, and I dont want it to be in the Head or Foot of the Excel worksheet, i want it to be where i decide to put it. Can you help me? I saw your answer in a Forum with the PageOfPages, but I got no idea how to use it. Sorry kinda nul for pcs. 

thanks for ya help!

tatiana


Page:
officemarketplacenm-en.asp , Comment by: Keng Jin (1/31/2008 12:48:07 AM)

This add in is fantastic. Thanks and appreciate your hard work.


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Jan Karel Pieterse (1/30/2008 10:16:55 PM)

Hi Sri,

No, Flexfind is an Excel addin. So only if your charts are embedded Excel charts, you might be able to do this by opening the charts in excel. If they are in separate workbooks this will become unwieldy.


Page:
OfficeMarketPlaceFF-EN.asp , Comment by: Sri (1/30/2008 2:09:57 PM)

Can I use flex find with Power Point? I need a tool to find & replace text in Chart titles across graphs created in PowerPoint?

Thanks.


Page:
articles/catchpaste.asp , Comment by: Jan Karel Pieterse (1/29/2008 3:39:55 AM)

Hi utham,

No, I'm afraid not.


Page:
articles/catchpaste.asp , Comment by: utham (1/28/2008 10:41:14 PM)

can this been done without the help of VBA


Page:
Download.asp , Comment by: Jan Karel Pieterse (1/28/2008 1:29:59 AM)

Hi Fred,

I've updated the tool and listed it here!


Page:
Download.asp , Comment by: Fred (1/27/2008 12:37:06 PM)

Hi Jan Karel,

I think you said some time ago that you did not do much with your Header/Footer manager. That's too bad! I see it's not even listed on your web site. I have a copy from 2004.

I discovered a bug: when there are no work books open and you open a new or existing one, I'm getting the following error:

method 'ListIndex' of object 'CommandBarComboBox' failed

Only thing that works is to close Excel entirely and re-open it. You can work in Excel but the toolbars are grayed out.

If you're so inclined to fix the bug, that would be great. Also 2 suggesions for enhancements:

1. a form (for which I can get a button on my toolbar - not sure how to do) that provides a checkbox for each of the header and footer managers so I can decide what I want open when. I know they're under the Toolbars but that's buried. This would be better if it had a section with all the & abbrevs because the alternative is to go into Excel's header/footer area and click on each to see what it is - ie click the calendar to see &D for date.

2. Would love to be able to be able to take the info for the header or footer from a cell. Maybe a sheet with a special name where cols A,B,C correspond to the left, center, right items or something like the formula box capability to "shrink" the box and click on a cell that is then used in the formula.

Anyway, I know that these probably won't happen. And I can train myself to avoid the bug. Just some thoughts.

Thanks.

Fred


Page:
Articles/UpdateAnAddin.asp , Comment by: Jan Karel Pieterse (1/23/2008 11:32:52 PM)

Hi Matthew,

Good idea. But since NM is also part of a commercial addin by Charles Williams (FastExcel, www.decisionmodels.com) I don't think we can implement that.


Page:
Articles/UpdateAnAddin.asp , Comment by: Matthew Pfluger (1/21/2008 11:24:14 AM)

Could you implement this for Name manager?  It would be helpful.

Also, I wrote an add-in that serves as a company-wide storage for custom macros.  I placed it on our shared drive and instructed everyone to load the add-in without copying it to their hard drive.  I use a WIP version that I overwrite the public version with when I deem it stable.  There have been no major problems with this method at this point.


Page:
, Comment by: (1/19/2008 4:54:00 AM)

Cool site! Helpful topic! :)


Page:
Articles/WebQuery.asp , Comment by: swapnil (1/18/2008 11:23:43 AM)

Thank you very much!

It worked perfectly.


Page:
Articles/WebQuery.asp , Comment by: Jan Karel Pieterse (1/18/2008 10:04:02 AM)

Hi swapnil,

These steps do it:

- Insert your query using the fixed URL.

- Select a cell within the resulting table

- Open the visual basic editor

- hit control+g

- paste this line:

activecell.QueryTable.Connection="URL;http://in.finance.yahoo.com/q?s=[""Param""]&m=NS

- put cursor in that line and hit enter.

- go back to Excel

- now the parameters button on the external data toolbar should be visible

- click it and set the parameter to get its value from a worksheet cell.


Page:
Articles/WebQuery.asp , Comment by: swapnil (1/18/2008 9:29:01 AM)

I am trying to setup a web query using a parameter. The web url is http://in.finance.yahoo.com/q?s=INFY&m=NS . This works fine when I import into the sheet. Now how to change the stock code INFY to a parameter. If I try to edit the query and enter ["INFY"] then the import does not work. Thanks a lot!


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (1/15/2008 8:30:56 AM)

Hi David,

I have a tool for that purpose but it is not for free.

Let me know if you're interested and we can discuss pricing and such.

Also, see this page
 for information on another tool which might be of interest and includes the "corrupt" range name removal option.


Page: officemarketplacenm-en.asp , Comment by: David Peters (1/15/2008 7:47:32 AM)

I find your tool very useful for a recurring problem we have with embedded names and being able to delete them out to reduce file size.  

Is there a quick way to rename invalid names or delete them without having to change the names?


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan Karel Pieterse (1/11/2008 11:50:54 AM)

Hi Kirk,

It already does that, click the small arrows above the names list to sort.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Kirk Reed (1/11/2008 8:19:31 AM)

I found your tool because I did not know how to delete named cells.  I would try renaming the name, but did not realize it just added new ones.  Your utility works great for what I need, but I would like to suggest a feature.  How about sorting by "Refers to" column so if duplicate names are used for the same "Refers to" contents, then duplicates could be found easier (so I can delete duplicates...).  Thanks!


Page:
officemarketplacenm-en.asp , Comment by: Ralph (1/11/2008 2:45:28 AM)

The Name Manager utility used to work properly for months, but for some reason it now generates a compile error in a hidden module and is not working anymore... I checked the references, but nothing is missing. Probably the only change is the addition of an Exact add-in and ofcourse some updates from Microsoft itself. 

Any idea about this problem? I also tried the older version, but without success!


Page:
articles/formulatranspose.asp , Comment by: Jan Karel Pieterse (1/9/2008 10:41:14 AM)

Hi rodstar,

Just open the VBE (alt+F11), insert a module (Insert, Module) and paste in the code shown above.

Then return to Excel. Select the range you want processed, hit alt+F8 to get to the macro list and run the macro called TransposeFormulas


Page:
articles/Excel2007TablesVBA.asp , Comment by: Andrei Sheshka (1/9/2008 8:07:33 AM)

Hi Johan!

At first you must activate ListObject to get InsertRowRange in Excel 2003.

Function GetInsertRow(objList As ListObject) As Range

   objList.Parent.Activate

   objList.Range.Activate

   Set GetInsertRow = objList.InsertRowRange

End Function

Sub Test_GetInsertRow()

Dim lo As ListObject

Dim objListRng As Range

 

    Set lo = Worksheets("Sheet3").ListObjects(1)

    Set objListRng = GetInsertRow(lo)

    objListRng.Select

End Sub


Page:
articles/formulatranspose.asp , Comment by: rodstar (1/9/2008 6:30:32 AM)

great solution!

any tutorial teaching how to program this code into Excel? I know a little about coding, but never did anything using VBE.

Other option is offer a xls to download and use the macro.

thanks.

r


Page:
Articles/ObjectLister.asp , Comment by: Dean (1/8/2008 7:59:35 PM)

Great piece of kit. Infinitely useful when trying to track down tricky properties.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan Karel Pieterse (1/3/2008 8:06:30 AM)

Hi Owen,

What Office version are you using?

NB: The fact that it runs on admin and gives a compile error on same machine for another user indicates a faulty installation/profile (I think).


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Owen (1/3/2008 7:47:06 AM)

Hi Jan,

V3.2 does the same thing.

I think there must be some sort of security/permissions issue.  If I figure out what it is I'll post the information here.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan Karel Pieterse (1/3/2008 3:48:03 AM)

Hi Owen,

Could you try version 3.2 (see above)?

If that generates an error too, I suspect a problem with your Office setup. Try running Setup, Detect and repair if so.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Owen (1/2/2008 3:33:35 PM)

I have trouble with the "Compile error in hidden module:fxlNameManager" also.

On a TS machine, It works under the administrator account, but not a regular user account. :(


Page:
Articles/WebQuery.asp , Comment by: Mike Carroll (1/2/2008 3:27:22 PM)

Hi Jan,

Your comment on 12/11/2007 agrees with what I have found so far: "the only way is by setting up a web query for each cell." This is strange if true. It means that each time you have a different parameter (or set of parameters), you need a different query. In other programming contexts, you can use the same query with different parameters. It seems as though web queries with parameters are not quite finished yet, in Excel 2007.


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (1/1/2008 4:51:41 AM)

Hi Scott,

Since I get more of these lately, I am planning to try and figure out a way to resolve them.

Please don't hold your breath though, it may take a while.


Page:
officemarketplacenm-en.asp , Comment by: Scott Clune (12/30/2007 6:04:53 PM)

Hi,

Just downloaded your addin as it looks great but cannot get it working. I have installed the addin in excel but when I start excel i get an error message saying Compile error in hidden module:fxlNameManager. and it stops there.

Any help would be greatly appreciated.

I am using Office 2003.

Cheers


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (12/28/2007 4:11:42 AM)

Hi Spiros,

Odd, works fine for me. Are you sure you have a workbook with range names in it open?


Page:
officemarketplacenm-en.asp , Comment by: Spiros (12/28/2007 3:05:03 AM)

Hi Jan,

I have been using Names Manager for years. An excellent utility and has saved me a lot of valuable time. I have recently downloaded Version 4.1 but cannot seem to get the toolbar in the VBE to list anything. The toolbar appears but thats about it. I have tried everything. I am using Xl 2000 but have also tried it on XL 2003. Your assistance would be appreciated.

Regards/Spiros


Page:
officemarketplacenm-en.asp , Comment by: Fayez (12/27/2007 7:53:17 AM)

really,

I appreciated so much and hope you always to be the best 


Page:
officemarketplacenm-en.asp , Comment by: Kanwaljit (12/26/2007 6:18:40 PM)

Hi Jan,

Using the latest version of FastExcel. Appear like a bug. I maximized the NM window and then used the EvalPar utility. The result was #Ref (as it should have been), but on clicking "ok", the NM screen disappeared with a message that "Form can't be resized"

Regards

CA Kanwaljit Singh Dhunna

India


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Jan Karel Pieterse (12/24/2007 4:26:48 AM)

Hi Matthew,

I was thinking on including some sort of filter, so you can -say- only pick from the names starting with "VBA_" or similar.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Matthew Pfluger (12/23/2007 10:06:41 AM)

I agree that a search functionality for inserting named ranges into the VBE would be helpful, but not in all projects.  I think both methods of insertion are appropriate; the list for small workbooks, and a search pop-up, similar to the Excel interface userform, for larger, complex projects.

All in all, not a bad first iteration, especially since he turned it out pretty much in less than a day!


Page:
Articles/WebQuery.asp , Comment by: Jan Karel Pieterse (12/20/2007 11:00:04 AM)

Hi Pete,

You did not include the url?


Page:
Articles/WebQuery.asp , Comment by: Pete (12/19/2007 1:02:57 PM)

I'm not sure how to set up even one web query in this case, since the URL does not include the zip code.  Please look at the website before answering.  Can you show me specifically how to set this us.  Thanks.


Page:
Download.asp , Comment by: Jan Karel Pieterse (12/18/2007 2:56:38 AM)

Hi Debra,

Thanks!

Fixed now.


Page:
Download.asp , Comment by: Debra McLaren (12/18/2007 12:31:31 AM)

The catch paste download link is broken.


Page:
RefTreeAnalyser.asp , Comment by: Jan Karel Pieterse (12/17/2007 10:24:07 PM)

Hi Doug,

Well, some food for thought there obviously. Screenupdating IS turned off as far as 

I know, but I'll double check. I also know about the toolbar problem and this is 

scheduled to be fixed in a later version.

In 2007 you should look on the Formulas tab, no toolbar there.


Page:
RefTreeAnalyser.asp , Comment by: Doug Glancy (12/17/2007 1:49:47 PM)

Jan Karel,

Today I had need for such a tool so I downloaded the demo.  I clicked on a cell and

chose "dependents".  It started going through every row of another sheet which has

about 1,300 rows.  It was taking quite a while, so I hit stop and after about a

minute it did.  I wonder if Application.ScreenUpdating would speed things up? 

I then ran the uninstall from Add/Remove progams.  It reported success, but the

2-icon toolbar was still in Excel.  When I clicked on the left-hand button, I got the

same message I'd get if I chose Tools>Formula Auditing>Trace Dependents.  I deleted

the toolbar in Tools>Customize and it's gone for good.

I have 2 versions of XL on this computer 03 and 07.  The toolbar is only present in

03 - I'm not sure if it was ever installed in 07.

I thought you might like to know this.

Doug


Page:
Articles/ObjectLister.asp , Comment by: Jan Karel Pieterse (12/17/2007 11:32:38 AM)

Hi Troy,

Indeed, it only shows properties and sub-objects. Methods are omitted. Shouldn't be very hard to add though.

I'll leave that as an exercise  for you :-)


Page:
Articles/ObjectLister.asp , Comment by: Troy (12/17/2007 7:44:05 AM)

Incredible tool! This was obviously a huge amount of work!

However, I don't see the methods (e.g. Range.Activate; or Range.Columns.Autofit)???


Page:
Articles/StartupProblems.asp , Comment by: Jan Karel Pieterse (12/15/2007 8:16:43 AM)

Hi Madani,

Hmm, no idea really, sorry.

Have you tried the "regserver" advice stated above?


Page:
officemarketplacenm-en.asp , Comment by: kanwaljit Singh Dhunna (12/15/2007 8:08:45 AM)

Hi Jan,

Nice Improvement done. It is handy to enter names in VB now. But is it necessary to show all the names in the List. I feel listing only the "Global" and "Local" names would be sufficient instead of all names including "Excel names like "print area /  print title / filter area."

Also is it possible to highlight only the selected name instead of all the names in the workbook.

Regards

CA Kanwaljit Singh Dhunna

India.


Page:
OfficeMarketPlaceNM-EN.asp , Comment by: Amit Sethia (12/14/2007 11:56:56 AM)

Awesome tool. It is helping me a lot so far. Would say, a simple thought but worth a lot more than what we can imagine.Thanks


Page:
Articles/StartupProblems.asp , Comment by: madani (12/12/2007 10:57:33 PM)

hi,

in my excel 2007 when i double click on any excel file in explorer. The file does not open but only excel application opens. Now from the excel when i click on open icon, open file dialog box appears, without selecting any file if i click cancel, it opens the file which i clicked in explorer.

"ignore other applications that use dynamic dde" is uncheck.


Page:
Articles/WebQuery.asp , Comment by: Jan Karel Pieterse (12/11/2007 10:22:45 PM)

Hi Pete,

The only way is by setting up a separate web query for each cell.

Once you've set up one web query as I've shown on this page, you CAN copy that web query down to other cells. You must however change the parameter cell of each copied query manually by selecting the query cell and clicking the parameters button on the external data toolbar.


Page:
Articles/WebQuery.asp , Comment by: Pete (12/11/2007 1:44:02 PM)

Please help me on this.  Working off of a list of zip codes in an excel 2007 column, I want a web query that can take go to the usps.com website and return the state (or city and state) for each of the zip codes.  Thanks.


Page:
ExcelRefTool.asp , Comment by: Manfred (12/11/2007 9:04:41 AM)

Great tool, I'll buy it soon.


Page:
officemarketplacenm-en.asp , Comment by: Mostafa Rageh (12/10/2007 12:56:43 AM)

very good


Page:
articles/Excel2007TablesVBA.asp , Comment by: Jan Karel Pieterse (12/9/2007 3:47:59 AM)

Hi Johan,

Thanks for the comment. I think you have found the only solution to this problem indeed.


Page:
articles/Excel2007TablesVBA.asp , Comment by: Johan Nordberg (12/8/2007 2:20:19 PM)

An important difference between Excel 2003 lists and Excel 2007 tables is that the InsertRowRange property of the ListObject only works when the table is empty. When the table has data InsertRowRange returns nothing.

In that case you have to get the last row of the table and move down one row from that. 

If anyone has a better solution, please let me know...

// Johan Nordberg


Page:
articles/AddinsAndSetupFactory.asp , Comment by: Jeroen Vreman (12/7/2007 4:41:44 AM)

If you want to install an add-in for all users then use the script below.

The script create a shortcut to your add-in file in the XLStart folder.

The add-in will be opened when Excel is starting.

Regards,

Jeroen Vreman

Install script:

-- find XLStart folder in microsoft office version(s)

sAppPath=SessionVar.Expand("%AppFolder%").."\\"..SessionVar.Expand("%AddinFileName%")

sMsOfficePath=SessionVar.Expand("%ProgramFilesFolder%").."\\Microsoft Office"

     

result = Folder.Find(sMsOfficePath,"XLStart",true,"");

-- create a shortcut of the add-in file in XLStart folder(s)

if result then

for Count1,Value in result do

Shell.CreateShortcut(Value,"Add-In Tools",sAppPath);

end;

end;

UnInstall script:

-- find XLStart folder in microsoft office version(s)

sMsOfficePath=SessionVar.Expand("%ProgramFilesFolder%").."\\Microsoft Office\\"

      

result = Folder.Find(sMsOfficePath,"XLStart",true,"");

-- delete the shortcut(s) of the add-in file in XLStart folder(s)

if result then

for Count1,Value in result do

Shell.DeleteShortcut(Value,"Add-In Tools")

end;

end;

Delete User Settings in registry key 'VB and VBA Program Settings' for all users:

-- delete user settings if selected

nSelectedControl = String.ToNumber(SessionVar.Expand("%UserSettings%"));

if (nSelectedControl == CTRL_RADIO_BUTTON_01) then

sKey = "SYSTEM\\ControlSet001\\Control\\hivelist\\"

result = Registry.GetValueNames(3,sKey);

for Count1,Value in result do

Value = String.Right(Value,String.Length(Value)-10);

if (String.Left(Value,4) == "USER") then

Value = String.Right(Value,String.Length(Value)-5);

sKey = Value.."\\Software\\VB and VBA Program Settings\\"..SessionVar.Expand("%ProductName%").."\\";

Registry.DeleteKey(4,sKey);

end;

end;

end;


Page:
Articles/UndoWithVBA04.asp , Comment by: Jan Karel Pieterse (12/6/2007 3:12:30 AM)

Hi Jac,

Conditional formatting expects you to enter the formula in Excel's locale NOT in US syntax.

So with my regional settings (list separator = ;)

This line works:

Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=sum(a1;a2)=1"

But this one fails:

Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=sum(a1,a2)=1"

So: The Formula1 (and 2) property of a formatcondition object reads AND writes LOCAL formula syntax in VBA.

This is opposed to the Formula1 and Formula2 properties of the VALIDATION object: those SHOW FormulaLocal, but if you want to set them, you must use the US formula syntax.


Page:
Articles/UndoWithVBA04.asp , Comment by: Jac (12/6/2007 2:09:52 AM)

Hi,

I can't seem to make the UNDO work for Conditional Formatting.

It can restore the previous formatting but the formula for the Conditional Formatting still remains.

Anyone knows how to use VBA to add conditional formatting  and use this class to undo? 


Page:
articles/SelectARange.asp , Comment by: Mahmoud (12/5/2007 2:50:21 PM)

Thanks a lot Jan

Best Regards

Mahmoud


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (12/5/2007 7:15:30 AM)

Ah, I suspect you'd like to be able to pick from a list of available range names whilst developing VBA, right?


Page:
officemarketplacenm-en.asp , Comment by: Matthew Pfluger (12/5/2007 7:13:04 AM)

I captured a set of screenshots that should describe what I was talking about., and I will send them to your general email.  I'd like an easy way to insert references to named ranges in the VBE without having to switch back to the Excel UI.


Page:
officemarketplacenm-en.asp , Comment by: Jan Karel Pieterse (12/5/2007 2:51:50 AM)

Hi Matthew,

I am not sure what you mean. As far as I know the VBE doesn't care much about the forms controls either, at least any code pertaining to them does not change if anything is changed to the control?


Page:
excelreftool.asp , Comment by: Jan Karel Pieterse (12/5/2007 2:50:24 AM)

Hi Matthew and Tom,

Thank you for your feedback, much appreciated!


Page:
articles/SelectARange.asp , Comment by: Jan Karel Pieterse (12/5/2007 2:49:33 AM)

Hi Mahmoud,

I think you would be helped best if you ask your question in one of the newsgroups or forums on internet.

See my links page for some links to newsgroups.


Page:
articles/SelectARange.asp , Comment by: Mahmoud (12/4/2007 12:17:29 PM)

Hi Jan

Data Renewal Automatically every day and i have made an archive for this data by a code....The Request if i take this data once to the archive>>.>.>>>>>....don't take it again if the user push on the macro button twice....I hope that you understand me

Thanks for replay

Mahmoud


Page:
excelreftool.asp , Comment by: Tom (12/4/2007 11:15:51 AM)

Hi Jan - 

My apologies for not providing any feedback sooner.  I have been using your add-in almost daily - it is great!!!  I had already written some code to analyze the relationship for more than one cell at a time, but your add-in takes it to a new level.  I work for a firm that helps investment managers standardize their data and then respond to database questions from investment consultants.  This tool has been especially helpful when I have to country allocations.  A investment manager may give us 25 individual countries then we have to roll it up to as a few as 4 choices for a particular database.  Thanks again, 

Tom


Page:
ExcelRefTool.asp , Comment by: Matthew Pfluger (12/4/2007 9:34:59 AM)

Congratulations on another fine tool!  I frequent your site for updates to NM and FF, and I'm incredibly impressed at the new add-in you've created.  I'm looking forward to being one of your first customers.

Matthew Pfluger


Page:
officemarketplacenm-en.asp , Comment by: Matthew Pfluger (12/4/2007 9:09:27 AM)

I'm frustrated that the VB Editor doesn't keep track of named ranges the way it keeps track of Forms Controls.  I know I keep dumping suggestions on you, but I believe that this is a common issue that falls well within the scope of NM.  I wonder how difficult this would be to implement.  Could code be reused?

Matthew Pfluger


Page:
articles/SelectARange.asp , Comment by: Jan Karel Pieterse (12/4/2007 2:08:09 AM)

Hi Mahmoud,

What criteria do you have in mind?


Page:
articles/Excel2007Tables.asp , Comment by: Kerry (12/4/2007 12:09:37 AM)

Please help.  I am putting my own training material together and have found that once I apply Format as Table,&n