Results 1 to 28 of 28

Thread: .vba

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    .vba

    i came across a utility called password.vba for excel and word files and downloaded it.

    when i tried to open the password.vba, it did not open instead it seemed to execute itself i hope i dont have a trojan.

    isn't a .vba file "openable" in VB6 or MS Excel?

  2. #2
    Lively Member JustinLabenne's Avatar
    Join Date
    Jul 2005
    Location
    Ohio
    Posts
    64

    Re: .vba

    I don't recall ever seeing a file with a .vba extension. Could be wrong though, I just have no idea what that could be,

    I have seen a Password.xla which is an add-in for unlocking Excle sheets and workbooks...
    Justin Labenne
    www.jlxl.net

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    maybe the password.xla got renamed as password.vba, it does seem to have the excel icon. hope i have not downloaded something nasty

  4. #4
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    If the file executed by itself then it probably had password.vba.exe and could possibly be a virus.. run a scanner on your machine.

    password.xla would of opened a session of Excel when opened.. If no Excel was opened then it was an exe and not an add-in
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    oops, it is password.xla
    i did a right click properties on the password.xla and on the general tab it says

    type of file: microsoft Excel add-in
    opens with : microsoft excel

    when i try to open it with excel, it does open up a microsoft excel session but it comes up with a msgbox saying that

    "password remover now loaded ....."
    with an OK button at the bottom

    i did an alt + f11 to view the contents and it says password.xla and then tried to view it, it says that the project is locked, is this a legit .xla or is it a nasty .exe file?

  6. #6
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    No it is a legit XLA and cannot be an EXE, it could however have hidden code that could do something.. check your Addin's in the worksheet tools menu and it should be in there..

    Why do you need this file? there may be other ways.
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    i did a

    tools->add ins
    but can see only the following add ins

    1. analysis toolpak
    2. analysis toolpak - VBA
    3. conditional sum wizard
    4. euro currency tools
    5. internet assistena VBA
    6. lookup wizard
    7. solver add-in

    all check marked

  8. #8
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    Use the browse button to find the password.xla from where you saved it. this will import it into Excel.
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .vba

    If its not from a reputable source/company then I wouldnt trust it. If you purchased it then its probably ok, but if DL'd from a crack site then we cant support you on that one.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    i downloaded it after doing a google for it.
    i dont think it is a crack site

    i will use the browse button to find it to import it into excel. i thoguht the message i got

    when i try to open it with excel, it does open up a microsoft excel session but it comes up with a msgbox saying that

    "password remover now loaded ....."

    meant that it was part of excel

    once it is loaded, does it become part of the excel toolbar?

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .vba

    There could be a new toolbar with new button(s) or just new button(s) added to an existing toolbar.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  12. #12

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    i did a
    tools --> add-in --> browse and added the password.xla, and it now appears part of the add-ins

    i guess the worksheet would be unprotected now.

    hey at any point if i were to remove the add-in, how do i do that?

  13. #13
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .vba

    Tools > Addins > uncheck your addin and click ok. It wont uninstall it but it will unload it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  14. #14

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    is there a way i can uninstall an add-in?

  15. #15
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .vba

    Look in the Add/Remove Programs applette in the Control Panel. If its listed in their then it can be uninstalled. Else look in its directory for na uninstall exe.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  16. #16
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    An addin could also be moved to the library in office when installing it through the Addin's Browse and not as a installation package, uninstall it by deleting it from this library, it could also be placed in "XLSTART"
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  17. #17

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    is there a time limit on the program?

    i tried to locate it on the control panel --> add/remove but it was not there

    i checked out the following directory, but it was empty

    C:\Program Files\Microsoft Office\Office10\XLStart


    is there a limit to using the password.xla program,

    is there a foolproof way of protecting your word and excel files

  18. #18
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .vba

    There is no Foolproof way. There are legitimate VBA password cracking programs out there and the internal methods like Protect are useless. Maybe making a dll out of it and referencing the dll in the vba code?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  19. #19
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    Did you also check the library folder in office 10..

    C:\Program Files\Microsoft Office\Office10\Library

    Run the following peice of code in a normal spread sheet to determine the name of the addin and it's location on your computer

    VB Code:
    1. Sub GetAddins()
    2.   Dim i As Integer
    3.   For i = 1 to Addins.Count
    4.     Debug.Print "Name: " & Addins(i).Name & " Location: " & Addins(i).FullName
    5.   Next i
    6. End Sub

    Once ran open the immediate window (CTRL+G) and look down the list to see if it is actually in the addins list, and you will see it's location
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  20. #20

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    thanks for the reply dannymking

    i have done a bit of VB coding before but not any VBA coding, can you tell me how and where to stick the
    getaddins code

    i got the forms toolbar and selected a command button which says button1, but i cant rename it

    i was trying to rename it to getaddins and then i would double click on it to get to the code section and could paste the code but i cant get to the code windcow that way


    i did an alt + f11 to get to the code section and could not see any reference to button1 either

  21. #21
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: .vba

    Press ALT+F11 to open the VBE.. Then press CTRL+G to open the immediate pane, click Insert > Module in the menu bar and copy the code from my last post and paste it into this new module.. click somewhere in the code and then press F5 and the immediate window will display all of the add-ins and their relevant locations..

    Quote Originally Posted by vb student
    i did an alt + f11 to get to the code section and could not see any reference to button1 either
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  22. #22

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    cool does thie mean i can have a VB project without forms, just with modules?

    can i not have some sort of command button on the excel sheet which when pressed would print out the locations

  23. #23
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: .vba

    Of course. Make sure you have the VB toolbar visible in Excel, select "Design mode" and you can put a button on the form. Double-click the button and it will take you to the event handling code. Put whatever you like in there.

    zaza

  24. #24

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    hey zaza how do i go into design mode

    i managed to put a command button but it takes me to a dialog box with a bunch of options where i can record a macro

  25. #25
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: .vba

    Right-click on a toolbar on the main Excel page and from the dropdown, choose Visual Basic. The Design Mode is the button with the set square, ruler and pencil on it. Alternatively choose the Control Toolbox menu - that has Design Mode on it as well as all the VB controls.
    If you double-click the button you'll go to the VBA editor. When you record a Macro, it writes it in VBA as well.

    zaza

  26. #26
    Lively Member JustinLabenne's Avatar
    Join Date
    Jul 2005
    Location
    Ohio
    Posts
    64

    Re: .vba

    Just for adding notes to this,

    This is the add-in in question:
    http://www.straxx.com/excel/password.html

    If you want to remove ths add-in, just find where ever you downloaded the add-in too, and delete it. When you open up Excel, you may get a prompt notifying of it's removal, or you can open the add-in's dialog (Tools > Add-ins) and it will say you can remove it by selecting it.
    Justin Labenne
    www.jlxl.net

  27. #27

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: .vba

    hey that means there are three toolbars i can work with
    forms, Visual Basic & control toolbox, should not forms and control toolbox be a part of Visual Basic menu?

    i guess if i click on design mode once i am in design mode and if i click it a second time i exit the design mode.

    i double clicked the button, and it says assign macro? and it comes with the record button. is there a way i can end up getting the code writing section instead of recroding a macro?

    also is there a section which shows how to record macros?

    hey justin, you mean locate the add-in and deleted it if it is say on the c:/mydrive/ and then when i open uip excel it will say it has been removed?

  28. #28
    Lively Member JustinLabenne's Avatar
    Join Date
    Jul 2005
    Location
    Ohio
    Posts
    64

    Re: .vba

    hey justin, you mean locate the add-in and deleted it if it is say on the c:/mydrive/ and then when i open uip excel it will say it has been removed?
    Yep.

    If the add-in is loaded, it will say it can't find it. If it's not loaded, then (and do this anyways) with Excel open, Go to TOOLS > ADD-INS >

    When the dialog box listing all the add-ins appears, select "Password Remover" in the list (it should be there if you have used it) and it will prompt you saying it has been deleted or if can't find it, something along those lines.
    Justin Labenne
    www.jlxl.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width