Question about PC Desktops

1 Answer

I have a runtime error 9 subscript out of range, when i try to open a program

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Expert
  • 61 Answers

  1. Start the Visual Basic Editor (press ALT+F11).
  2. If Project Explorer is not visible, press CTRL+R to activate Project Explorer.
  3. Click to select the Visual Basic project that contains the module sheet that you want to copy.
  4. On the Tools menu, click References. Click to select the Microsoft Visual Basic for Applications Extensibility 5.3 check box, and then click OK.
  5. Click Module on the Insert menu.
  6. Type the following code into the module sheet: Sub CopyModule() Dim CodeLines As String Dim ModuleToCopy As VBComponent Dim NewModule As VBComponent ' Set a variable to the module to copy. ' Note: This assumes that the name of the module to copy is ' "module2". Replace "Module2" with the name of the module to copy. Set ModuleToCopy = _ Application.VBE.ActiveVBProject.VBComponents("module2") ' Get the Visual Basic code from the module. CodeLines = ModuleToCopy.CodeModule.Lines _ (1, ModuleToCopy.CodeModule.CountOfLines) ' Create a module sheet in another workbook. ' Note: You must refer to the name of the Visual Basic project. By ' default, the name of all new projects is "VBAProject". You may want ' to rename the project to which you are copying the contents of the ' module sheet. Set NewModule = Application.VBE.VBProjects("VBAProject") _ .VBComponents.Add(vbext_ct_StdModule) ' Add the Visual Basic code to the new module. NewModule.CodeModule.AddFromString CodeLines ' Rename the new module to the name of the previous module. NewModule.Name = ModuleToCopy.Name End Sub
  7. Run the CopyModule procedure.

Regards

Samson Ved

Posted on Dec 05, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Runtime error abnormal program termination


Sounds like you have ran a scan on your drive and the software has become corrupt.

Download the utility from Seagate and try again

Feb 08, 2014 | Seagate Back Up Plus Desktop Drive...

1 Answer

Runtime error and install stub Dell Ispiron 560


Runtime errors Some applications may be causing a conflict. Many times runtime errors are a result of incompatibility between two or more programs. Press the "Ctrl," "Alt" and "Delete" keys simultaneously to open Windows Task Manager. From the "Applications" tab, close each open application until the runtime error is resolved. Check for patches, bug fixes or upgrades by visiting the manufacturer's website. Search for your product and determine whether there are downloads to fix the problem your PC is experiencing. When none of the above fixes help, reinstall the troubling program. In severe cases, you may need to reinstall your operating system. Make sure that you back up the other programs and files you want to preserve, which may be erased during the re-installation.

Jan 22, 2013 | Dell Inspiron 560 (Intel Pentium Dual Core...

1 Answer

Error R6002 floating point not loaded


try using windows 2000 or windows xp sp2 compatablity mode for the executable file that causes the error

Jun 04, 2010 | Sony VAIO® VGCLS1 PC Desktop

2 Answers

C runtime error Program...\es\Roxio Creator 2009\Roxio Central 4\RoxioCentralFX.exe R6025 -Pure Virtual Function Call


did you upgrade to Internet explorer 7? try to revert back to IE 6 or uninstall IE 7

Oct 05, 2008 | PC Desktops

1 Answer

I get this error everytime I try and use IE I can't use IE it wont launch runtime error! program:c:\program files\Internet Explorer\iexplore.exe this application has requested the runtime to...


you can try to re-install IE, go to control panel then open Add/Remove programs, on the left side of the Add/Remove programs applet click Add/Remove windows components, under Components look for internet explorer then uncheck it then click next, IE will now be uninstalled. Then reinstall it, just like previous process on Add/Remove windows components put a check on internet explorer then click next.

If this wont solve the problem, you can try a third party browser like firefox, download firefox on this site: http://www.mozilla.com/en-US/firefox/, after downloading firefox just double-click it then just follow the installation.

Jul 23, 2008 | PC Desktops

1 Answer

Runtime Error


That program is probably corrupted.

You need to re-install your microsoft office software. That should take care of it for you.




Jun 22, 2008 | PC Desktops

2 Answers

I have the Pinnacle version 9.. I have made a movie with a bit of video and the rest is stilled photos. everytime i go to MAKE MOVIE a box pops up with RUNTIME ERROR.. ABNORMAL PROGRAM TERMINATION??? i...


dear sandy


just trying to updated your display(vga) driver with the latest new

uninstall your pinacle 9.00, after that, delete the source , from program files\pinacle . delete the directory

restart, re install pinacle 9.0, and it solved your problem i hope.



thx


cropp

Mar 18, 2008 | PC Desktops

1 Answer

Sony desktop booting


Runtime errors 9, Subscript out of range, Program error, verify the program has all the latest updates. If updated try reinstalling the program.

Good Luck, Please dont for get to Vote.Thank You. Merry Christmas.

Dec 25, 2007 | PC Desktops

Not finding what you are looking for?
PC Desktops Logo

Related Topics:

103 people viewed this question

Ask a Question

Usually answered in minutes!

Top PC Desktops Experts

joecoolvette
joecoolvette

Level 3 Expert

5660 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Are you a PC Desktop Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...