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 TouchToneTommy 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: *

  • Users: GVF
  • Order by date
  1. GVF

    MSCAL.OCX registration on Windows 7

    Search the registry. If the CLSID appears in "HKEY_LOCAL_MACHINE/Software/Microsoft/Internet Explorer/ActiveX Compatibility" then check the Compatibility flag. With some ActiveX's if the flag is other than 0 the control will be blocked (not trustworthy). If IE gets (automatically) updated, the...
  2. GVF

    Macro treats appearantly "blank cells" as "not blank"

    If Msgbox("This action cannot be undone, and will transfer your data and blank your sheet.",vbOKCancel+VBCritical,"Data Transfer") = VBCancel then Exit Sub
  3. GVF

    RegWrite isn't working - Excel 07 and Win7

    This is exasperating. I have used regwrite to enable MSCOMM32 on other machines including Vista and Windows 7. A new laptop showed up and regwrite doesn't change the compatibility flag value. Using Shell and calling a .cmd file that calls a .reg file doesn't work either. Running either the...
  4. GVF

    Excel, make Variable = Cells(RowNum,2) work or equivalent

    Your correct, it's the wrong approach. I suggest you dump the Spinbutton and insert a regular Commandbutton from the Controls Toolbar. In design view (click on the draftsman triangle on the toolbar) right click on the commandbutton and select properties. In the properties window change the...
  5. GVF

    ActiveX Cannot Create Object

    I had a similar problem and found a solution thanks to help from the folks on the VBA forum. http://www.tek-tips.com/faqs.cfm?fid=7241 is the link to the FAQ regarding ActiveX and Vista/IE. Greg
  6. GVF

    Supress word warnings/messages

    In Excel if you set DisplayAlerts = False, it is a permanent setting to the Help options of the office assistant. That is, it doesn't get set to "True" when the procedure ends (like ScreenUpdating does). I'm not a Word guy but it looks to be the same in Word with the added fact that there are...
  7. GVF

    Adjusting System Volume using an Excel Macro

    Genomon says look here... http://support.microsoft.com/kb/178456 Or you can use the shell command to call up the system volume application... Shell "c:\Winnt\System32\sndvol32.exe", vbNormalFocus Either way you appear to be stuck with a dialog box rather than simply entering a parameter.
  8. GVF

    Excel crashes when loading a large userform

    Hi Skip, Yea I started to do that but the program is set up to take position and speed settings from the slide controls and output in real time to the servos (using the scroll event) so the user can see what each movement is doing. It is real convenient to switch back and forth between...
  9. GVF

    Excel crashes when loading a large userform

    The Auto_Open() sub runs fine and adds a menu to the Excel Commandbar. Selecting commands brings up different Userforms. The small userforms come up OK. Selecting the command that brings up the large userform (12 page multiform and 450 controls) crashes Excel. If I start the VBE first, there...
  10. GVF

    Excel ask a Question when opened

    An Auto_Open() sub will run whenever the workbook is opened. The code must be in a regular code module. Since you have three possible options (paid none, paid some, paid in full) you probably need a userform (as opposed to a MsgBox / InputBox combination). It appears that the userform needs a...
  11. GVF

    Userform retains focus while procedure runs

    It's important to keep learning. It keeps a brain active and flexible... I remember reading an article once in In-Fisherman. It was about electricity and fishing and had to do with putting a small charge on a steel downrigger line. It was one of the great fishing articles that I ever read...
  12. GVF

    Macro "follows" a worksheet moved to a new workbook. How to stop this?

    In your first post you say "...then separate a worksheet into a new workbook". Is the Button Code on the sheet that gets moved to a new workbook? Maybe an external link is being created. At the end of your code (after the worksheet gets moved to the other workbook) try adding code that resets...
  13. GVF

    Opening Multiple Drawings

    I am not sure about 2008 but... Look in <Assist menu - Optons - System tab, Single Drawing compatibility mode. Deselect the box.
  14. GVF

    Template custom menu disappears with add-ins

    Two things you can take a look at... 1. When you say "Hit a Shortcut" do you mean a desktop shortcut that might start another session of Word? (A session that doesn't have the template open and consequently doesn't have your menuitem?) 2. Is the offending addin (that starts from the shortcut)...
  15. GVF

    Userform combo box storing data as text

    Hello, Comboboxes, dropdowns, etc. all hold values as strings. Use the VAL function to change the combobox value to a number. Sheets("data").Range("J1").Value = Val(case1) If you allow a user to input something then you should add a couple of lines of code that check to make sure that...
  16. GVF

    Unblocking ActiveX controls in Vista / IE

    It appears that Microsoft is changing the way the helper programs like ActiveX controls are handled. Numerous ActiveX's that worked under previous versions of Windows and IE are no longer bundled with the latest versions of IE (or Vista). If an upgrade is made to your IE installation you may...
  17. GVF

    Message box error

    Your msgbox syntax is wrong. Replace the word Prompt with your message. As written, your messagebox is looking for a variable named Prompt. Use parenthesis when you need a return from the message box (which button did the user click)... MsgBox "The file will not be saved", vbOkOnly +...
  18. GVF

    Can you change the XL menubar icon?

    More searching turned up this site. The 2nd posting of his code works. He gets the star. http://www.pcreview.co.uk/forums/thread-956813.php
  19. GVF

    Can you change the XL menubar icon?

    When there is no workbook open the icon is not there. So it's the "Workbook Icon" I want to change.
  20. GVF

    Can you change the XL menubar icon?

    Thanks for the try genomon but that code changes the Application icon at the left end of the title bar (I have that one taken care of). The last bit of customization I want to perform is to add my own icon to my custom menubar. The same Excel icon that is at the left end of the Worksheet Menu...

Part and Inventory Search

Back
Top