|
-
Feb 6th, 2026, 11:41 AM
#1
Thread Starter
Member
No Excel Help in VB6 IDE
I'm running VB6 under Wiondows 11, quite happily, except, when adding Excel terms to my VB6 code, I cannot get any Help, (F1), for any of the Excel terms.
Here's an example:
Code:
With xlChartObj.Chart
.SetSourceData Source:=ActiveSheet.Range("A2:D26")
.ChartType = xlXYScatterLines
.HasTitle = True
.ChartTitle.Text = "Room Temperature"
.HasLegend = True
.Legend.Position = xlLegendPositionBottom
If I select, for example, the ".Legend.Position", then F1, I get
"Unable to display help", with an OK and a Help button.
I get the same result for selecting any of the terms that begin with "."
I'm guessing I have a path definition missing, but which, and where?
Thanks to anyone who can help
Jim
-
Feb 6th, 2026, 12:16 PM
#2
Re: No Excel Help in VB6 IDE
The Excel object hierarchy isn't in the VB6 MSDN. To get that, you have two approaches: 1) find a copy of the old VBAXL10.CHM and then struggle to get that to work on your computer, or 2) go to https://learn.microsoft.com/en-us/of...l/object-model and use the online Excel VBA help (and this is probably the better of the two options).
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Feb 10th, 2026, 09:38 AM
#3
Re: No Excel Help in VB6 IDE
-
Feb 10th, 2026, 09:45 AM
#4
Re: No Excel Help in VB6 IDE
And i would be surprised shown code compiles in VB6
With xlChartObj.Chart
.SetSourceData Source:= ActiveSheet.Range("A2 26")
.ChartType = xlXYScatterLines
.HasTitle = True
.ChartTitle.Text = "Room Temperature"
.HasLegend = True
.Legend.Position = xlLegendPositionBottom
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Feb 14th, 2026, 10:17 AM
#5
Thread Starter
Member
Re: No Excel Help in VB6 IDE
Why?
Seems correct to me, and compiles quite OK.
-
Feb 16th, 2026, 11:51 PM
#6
New Member
Re: No Excel Help in VB6 IDE
I agree with Elroy the VB6 IDE which is a standalone VB editor it and help is no longer supported by Microsoft and attempting to use Microsoft Office VBA coding linking to help for Excel appears is not supported.
One way you can get some help is to create and troubleshoot your code using it in an Excel UserForm or module in Excel.
Create the objects and Set the value for your objects in the userform and when you code the object parameters in the userform F1 will open the Excel help for the parameter.
Hope this helps.
-
Feb 17th, 2026, 02:37 AM
#7
Re: No Excel Help in VB6 IDE
You all assume this is written in VB6
i wouldn't be surprised if above is actually written in VBA in Excel,
because an alone standing "ActiveSheet" is a red flag to me.
If it were written in VB6, it assumes he has a reference to the Excel-Objects (Late Binding not withstanding), but then he gets into Namespacing, which starts at the Workbook (I'll ignore "Excel-Application")
So, an alone standing "ActiveSheet" should never be able to compile in VB6
EDIT: Now would you look at that. OP's next thread is in the Office-Forum, and it's about........ Ta Daaaa: VBA
Last edited by Zvoni; Feb 17th, 2026 at 07:24 AM.
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|