Question about Computers & Internet

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

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

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

Acer crystal eye webcam runtime error problem


Try reinstalling your camera driver and application program.

Mar 28, 2012 | Computers & Internet

1 Answer

Lexmark Error code: Runtime error '9'= subscript out of range


Hi there

You need a program that you can use on your PC with this program you scan it to your PC and then print it out, ok you need a program like art or photo or paint or some thing like this that have a scan in it.

Read more below.
The best program to put on your Pc is what I use and it is Free you, it is called PagePluse SE, you should try it you can do all sort of things with it but there no scan on it, just scan your photos to the your pc with another program witch has scan on it and put them in the SE program and you can do any size you wont and after adding text to it or backgrounds you can send it to the printer and print, an other program I use for scanning from the printer to the PC is called PainShop Pro 7 witch is a old program there newer ones out now but I am happy just using the old one it does the trick.

The Free version is Called PagePluse SE you not need the version 9.

Ok here the link to download the PagePluse SE program and it not a free trial it a free, there is one you can Buy but this is all you need download the free one it just as good.

Click Link = http://www.freeserifsoftware.com/software/pageplus/index.asp

Please come back and just gave a vote, it will gave me some satisfaction to know am helping some one so I will keep on helping.
All The Best: Pineworks

Apr 01, 2010 | Lexmark Z735 InkJet Printer

1 Answer

I am receiving a runtime error upon open


try uinstall and reinstall whatever that program is. jsut go to control panel and find programs and feature in vista and on xp add remove programs. on teh list find that program that has runtime error then click uninstall. restart comp after

Feb 16, 2010 | Dell Inspiron E1505 Notebook

1 Answer

Microsoft Visual C + + Runtime Error


I just recently install Window 7 ultimate on my computer and then Acrobat 8 Pro start acting up. Try to open PDF file it will open for a little while then this thing pop up said Microsoft visual C++ Runtime Library and Runtime Error. Then it shut down.

Anyone know how to solve this problems please help.
Karoon Yip
karoon.yip@gmail.com

Jan 31, 2010 | Nova Development Photo Explosion Deluxe...

1 Answer

Adobe Reader 9 Runtime error 6034 application has tried to load c runtime libary incorrectly


1. Click on Start, Run and type in AppWiz.cpl.
2. Uninstall Adobe Reader 9.
3. Go to C:\Program Files and delete the Adobe folder.
4. Reboot your machine.
5. Browse to www.adobe.com and download the latest Adobe Reader version.

Dec 13, 2009 | Adobe Computers & Internet

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 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

103 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

100288 Answers

David Payne
David Payne

Level 3 Expert

14160 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...