-
WSjha900
AskWoody LoungerThank you very much. I have a reference to excel 10.0 object library. I changed the code, see below. I still get a page fault error when i try it on a w95 box but i tested on both nt and w2000 and it works fine. Also, on the w95 box it does open excel but then i get a page fault error.
dim xlsApp as excel.application
private sub submit_click()
dim wb as workbookset xlsApp = new Excel.Application
xlsApp.Workbooks.Open filename:=App.Path & “contacts.xls”
call addtoexcelif msgbox(“enter another?”, vbyesno) = vbno then
activeworkbook.close saveChanges:=true
xlsApp.quit
set xlsApp = nothing
endelse
call cleartextboxes
end if
end subprivate sub addtoexcel()
dim rngData as range
dim rngRow as range
dim lastRow as integerworksheets(“Data”).activate
set rngData = xlsApp.Range(“A3”).currentregion
lastRow = rngData.rows.Count + 1
xlsApp.Range(“A” & lastRow) = txtDate.text
end sub -
WSjha900
AskWoody LoungerApril 2, 2002 at 12:01 am in reply to: Save screen resolution in an .ini file (w95, w2000, vb6) #579747ok, that i can do. now it makes sense thanks for hanging in there with me to explain.
-
WSjha900
AskWoody LoungerApril 1, 2002 at 4:46 pm in reply to: Save screen resolution in an .ini file (w95, w2000, vb6) #579666ok, yes now i see. After the user resizes their window i want to save the height and width and use the next time they open the program. I looked up code on saving to an .ini file but don’t understand it. I just want to save it somehow in my vb6 program so when the user opens the program up the window will be the same size as when they closed it. thanks for all the posts and the help
-
WSjha900
AskWoody LoungerApril 1, 2002 at 3:02 am in reply to: Save screen resolution in an .ini file (w95, w2000, vb6) #579611believe it or not my users wouldn’t know how to change their resolution.
-
WSjha900
AskWoody Loungerby w95 i meant windows 95. I tried to use the code with w95 and word97 and it bombed. thanks
-
WSjha900
AskWoody LoungerThank you. I’m not familiar with how to put these declare functions into a vb6 project? When i just cut and paste the code it doesn’t like the “Declare Function…” Do you know how i can modify for vb6? thanks a lot
-
WSjha900
AskWoody Loungeryes, that is in there already. I’ve set the reference to Microsoft Excel 10.0 object library.
The exe runs on win2000 and winnt but i get an error on win95. The error is not specific enough or doesn’t give me many details. I thought there might be another common element i’m supposed to add to this vb6 program to make it cross-platform compatible.
-
WSjha900
AskWoody Loungerhi, it’s me again. Everything is working well. I’m able to add different master templates to the “newpres”. After the user selects the sections they want and selects the template design they like, i need to add a client logo to their presentation. I want to add it to the master page so it appears in the bottom righthand corner of every slide.
I have the user put the client’s logo file in c:logos and then i have them enter the name of it into a textbox in my app’s form, txtClientLogo.text. How do I get to the slide master of the template that is chosen and insert the logo in a specific position? I’ve tried to do it using the macro reader but I can’t seem to program it for any file that is entered in the txtClientLogo.text box and located in c:logos.
Can you give me some guidance. Thank you
-
WSjha900
AskWoody Loungerthis is soooooo totally cool! i can’t thank you enough.
the move up and down works for me
-
WSjha900
AskWoody LoungerMarch 5, 2002 at 7:16 pm in reply to: Take out the asterisk (*) in a cell (Excel xp/win 2000) #574429worked great! thanks much
-
WSjha900
AskWoody LoungerMarch 1, 2002 at 3:38 pm in reply to: Find cell and shade it in another wksheet (Excel xp/win 2000) #573710Ok, thanks. What if they are in 2 different workbooks?
-
WSjha900
AskWoody LoungerThank you so much!
-
WSjha900
AskWoody Loungerok, it didn’t work with address property so i’ll try row. thanks a lot
-
WSjha900
AskWoody LoungerThank you. Once i have the array loaded I just want to extract the numbers of the cell. A41, A2424, i want to load another array with num(0) =41 and num(1)=2424. I’ve tried val(“A41”) but that doesn’t work. Thanks
-
WSjha900
AskWoody LoungerFebruary 7, 2002 at 3:31 am in reply to: Search and load into array in Excel xp (Excel xp, win2000) #568805j = 1
for each chart.object
Search for first chart.object and activate it
ActiveChart.SeriesCollection(1).select
ActiveChart.SeriesCollection(1).Points((Address(j)) – 7).select
with selection.interior
.colorIndex = 1
.Pattern=xlSolid
end with
j = j + 1
nextI have a list of 50 cities in column A. Next to it i have a bar chart that is a separate object. The bars are all red but i have to turn one of them black. I search thru the 50 cities for the words US TOTAL and say it falls in cell A41. It turns out that the “point” in the bar chart that needs to be made black is 7 less than 41. There are 100 of these charts on the sheet and it is an ongoing job, therefore i want to make an automatic way to make the bar black. Hope you can help me. thanks
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Blank Inetpub folder
by
Susan Bradley
36 minutes ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
2 hours, 28 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
6 hours, 12 minutes ago -
Wait command?
by
CWBillow
3 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
9 hours, 7 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
15 hours, 43 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
1 day ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
1 day, 1 hour ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
20 hours, 29 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 15 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 15 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
10 hours, 49 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
7 hours, 30 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
2 days, 3 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 7 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 7 hours ago -
Unable to eject external hard drives
by
Robertos42
17 hours, 33 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
5 hours, 14 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
3 hours, 8 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 11 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 13 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 17 hours ago -
Upgrade Sequence
by
doneager
3 days, 10 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 16 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 9 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 14 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 15 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 15 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 8 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
5 days, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.