Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rguglielmon

    Programmatically adding references

    I want to create an Excel Add-In that references the Access and ADO libraries. I'd like to avoid having the user manually add these references. From the Help documentation it looks like I can use the References collection to add references by GUID. I tried to play around with this by looping...
  2. rguglielmon

    Closed files still appearing in Project Explorer Window

    It is an addin I have written.
  3. rguglielmon

    Closed files still appearing in Project Explorer Window

    This code is part of an addin.
  4. rguglielmon

    Closed files still appearing in Project Explorer Window

    No. At least I don't think so. I'm not sure what the ASAP utilities are.
  5. rguglielmon

    Closed files still appearing in Project Explorer Window

    Tony, Thanks for the reply! I added this code and still had the files added to the Project Explorer Window. I now have about 3 dozen unopened files in the window and its getting unmanageable. Any other ideas? Bob
  6. rguglielmon

    Closed files still appearing in Project Explorer Window

    I have a macro that opens and closes a number of workbook files. The problem is that the files remain in my Project Explorer window even after closing Excel and rebooting. I've done similar things before and never had this happen. Here's the code I use to open the files: Set RegionBook =...
  7. rguglielmon

    Get Row # of last row in UsedRange

    How do I get the row number of the last row in a range returned by the UsedRange property of a Worksheet? In other words, what is the last row used in the sheet? I have been using ActiveSheet.UsedRange.Rows.Count but just realized that this doesn't work if the worksheet does not use rows at the...
  8. rguglielmon

    Create Separator in Menu

    I am using CommandBarPopup & CommandBarControl to create custom menus. How do I create a separator bar to group menu items? I tried the VB technique of "-" as caption but that doesn't work.
  9. rguglielmon

    Creating menus in Excel Add-Ins

    I am trying to create an add-in with custom menus associated with macros I want to distribute. I tried to follow the instructions in the MS OFfice XP Developer's Guide. I did the following: - Created a new workbook - Created macros in a module in the workbook - Created a custom top level menu...
  10. rguglielmon

    Distributing macros to Excel 97 users

    I have created a number of Excel macros written in Office XP and I need to distribute them to users of Office 97. The questions I have include: - Does Excel 97 also have Add-Ins in the same manner as Excel XP? Can I create custom Add-Ins and distribute them to other users? - If so, where should...
  11. rguglielmon

    Retrieve current page number in Word

    The field code would be useful if I just wanted to display the page number, but what I really need is to access the current page number programmatically in a VB macro. Let me tell you a little about the project I'm doing and why I need this. I work in a training organization and we are...
  12. rguglielmon

    Retrieve current page number in Word

    How do I retrieve the current page number in a document in Word? I've looked through the object model and see no objects, properties or methods that do this. Evidently, Word does not process pages as objects.

Part and Inventory Search

Back
Top