-
XP_7
AskWoody LoungerWorked a charm,
Thanks -
XP_7
AskWoody LoungerTry this mob, say’s it does almost everything.
http://www.foxitsoftware.com/Secure_PDF_Reader/feature.php
Third from the bottom in the feature list…don’t know if this may do the trick.
They quote;Text Viewer & Text Converter
View the whole text content of a PDF file.
Convert a whole PDF document into a simple text file.I think it be the paid version.
-
XP_7
AskWoody LoungerApril 2, 2013 at 10:10 pm in reply to: Do Until If Cell range is 0.00 then Delete Row, won’t Delete ! #1384717Thanks RG,
Interesting coding, I’ll check it out and see how it goes. -
XP_7
AskWoody LoungerApril 1, 2013 at 9:42 pm in reply to: Do Until If Cell range is 0.00 then Delete Row, won’t Delete ! #1384571Thanks RG,
I’ll test it after a few runs,
that is why I supply a convenient workbook.
To show how I have to have it in other processes.
Not always column B, it’s series of processes and calculations.
Column B was a previous process where it still works OK.It’s when I try to tweak it to do other columns for other calculations,
it faults. -
XP_7
AskWoody LoungerApril 1, 2013 at 5:39 pm in reply to: Do Until If Cell range is 0.00 then Delete Row, won’t Delete ! #1384537zeddy, saw the obvious error, missed it.
Code:If ActiveCell.Value = ActiveCell.Value = “0.000” Then ‘:o If ActiveCell.Value = “0” Then
RG
tried codes as suggested to, and the original… it goes “AWOL”.Note though, the top 3 rows ( 1,2 and 3), if blank must remain as they are, not to be deleted.
The Workbook has all examples shown so far.Thanks
-
XP_7
AskWoody LoungerApril 1, 2013 at 3:26 pm in reply to: Do Until If Cell range is 0.00 then Delete Row, won’t Delete ! #1384493..But just for info, it is always better to delete rows from ‘the bottom up’.
zeddy
Thanks zeddy,
Yes I know there is a correct method/s, a work in progress, I got one of those in a older project not
written by me, but each time I try to work out how to change it’s references, for example this section
here;Code:LastRow = Worksheets(“Sheet1”).Range(“B65536”).End(xlUp).Row For i = LastRow To 2 Step -1 If Worksheets(“Sheet1”).Cells(i, 7).Value = “” Then Worksheets(“Sheet1”).Cells(i, 7).EntireRow.Delete
it goes “AWOL”….
The complete code I have stored, ( and one of my favorite snippets of code ) is;
Code:Sub DeleteRows() Sheets(“Sheet1”).Select Sheets(“Sheet1”).Range(“A1”).Select Dim LastRow As Integer Dim i As Integer LastRow = Worksheets(“Sheet1”).Range(“B65536”).End(xlUp).Row For i = LastRow To 2 Step -1 If Worksheets(“Sheet1”).Cells(i, 7).Value = “” Then Worksheets(“Sheet1”).Cells(i, 7).EntireRow.Delete End If Next i LastRow = Worksheets(“Sheet1”).Range(“B65536”).End(xlUp).Row For i = 1 To LastRow Worksheets(“Sheet1”).Cells(i, 1).Value = i – 1 Next i End Sub
I did try to use it, it may need explaining and some tweaking. It does show as suggested,
deletes Rows correctly.XP
-
XP_7
AskWoody LoungerThanks all who helped with this phase of my project.
I have uploaded a copy of the workbook, it may need some
code-cleaning-uppers and tweaks for “correctness”, more stuff to learn from. -
XP_7
AskWoody LoungerThe workbook,
It may need some cleaning up or more efficient coding…
But it gets the list in the correct order.Thanks Maud,Zeddy and everyone who helped.
-
XP_7
AskWoody LoungerThanks,
worked perfectly. -
XP_7
AskWoody LoungerThanks zeddy.
Maybe I am not reading your code right, but I put in;
Code:zConnection = “URL;http://webpage2.com/gardening/” & zDateString With ActiveSheet.QueryTables.Add(Connection:=zConnection, Destination:=Range(“A3”))
It tried to query, but errored 1004
Some history.
Originaly, the old web ( webpage1.com) page, the code was changed to;Code:.(Connection = “URL;http://webpage1.com.au/” & Range(“A1”) & “.html”
This worked oerfectly.
It referenced the date from Cell A1Since webpage1.com.au is no longer,
when recording a new web query macro fromwebpage2.com/gardening/2013/3/29/workday
is what is shown in VBA after recording.
The data does get imported, that web address does exist.However,
To get another new date, one has to go into VBA editor and change that date.
But because the macro is on AutoStart at a specific time of day, it needs to referenced from the date
in Cell A1. Not the DateString from the machine.What I tried with your zDateString is;
Code:zConnection = “URL;http://webpage2.com/gardening/” & zDateString With ActiveSheet.QueryTables.Add(Connection:=zConnection, Destination:=Range(“A3”))
What I don’t get is, how zdateString syntax “knows” it’s required date is in Sheet1 A1
or am I missing something here ?I also tried,
Code:zConnection = “URL;http://webpage2.com/gardening/” & zRange(“A1”) _ With ActiveSheet.QueryTables.Add(Connection:=zConnection, Destination:=Range(“A3”))
Thanks.
-
XP_7
AskWoody LoungerNo Prob,
I have added another piece of code, this helps if anyone is required to delete unspecified
Rows with Loop, If, Then scenariosCode:Sub DeleteRow() Sheets(“Sorted”).Select Sheets(“Sorted”).Range(“E3”).Select Do Until ActiveCell.Value = “” ‘current cell Or cell to Right ( will NOT keep ) canceled appointments If ActiveCell.Value = “” Or ActiveCell.Offset(0, 1).Value = “” Or ActiveCell.Offset(0, 1).Value = “Cncld ” Then ‘current cell Or cell to Right ( will KEEP ) canceled appointments ‘If ActiveCell.Value = “” Or ActiveCell.Offset(0, -1).Value = “” Or ActiveCell.Offset(0, 1).Value = “Cncld ” Then ActiveCell.EntireRow.Delete ActiveCell.Offset(-1, 0).Select End If ActiveCell.Offset(1, 0).Select Loop End Sub
PS
After posting, the long bits did not fit entirely on this forum, so it may look wrong due to
word wrapping here, but it works in the VBA Module. -
XP_7
AskWoody LoungerMaudibe,
Thanks,
Have added a bit extra code for “cosmetics”.
I can live with having to do the the “midnite to next day’s date” Ascending Sort by cut and paste to bottom of list manually.
Other than that it’s a good as done for this part of a larger process. -
XP_7
AskWoody LoungerOk, it’s fixed itself.
The error was that space which came from the RESET sheet. The actual raw data from the source does
not have that, so I guess it’s solved as far as split and formula with macro is concerned.Thanks
I’ll start a new thread for the rest of the process, I need to work on from some books first.
Thanks all
For the record, I use office 2003 on XP, but have office 2010 on another PC getting fixed.
-
XP_7
AskWoody Loungerrory, the formula is fine.
Only Cell C4 has the issue… Even when I tried deleting all columns C to H,
Then I deleted Sheet2 and, Inserted a brand new Sheet.
Cell C4 has a problem no matter what Format I tried.After the macro is Run, if I type in the same number in Cell C4, it’s corrects itself.
The #VALUE! becomes the calculation, in this case, 3.85It goes from 26 to 26.00 when 26 is typed, only that cell. !!
This is not what I initially posting about, it’s a new problem.
-
XP_7
AskWoody LoungerRetiredGeek and rory,
I have put both macro in the same workbook for testing, plus I added some “Reset”
conveniences for testing the project.I get errors in the formula after the macro is Run, if there are 0’s ( zero’s).
I haven’t tested the other replies yet, but will do so.
And later on I do have a piece of macro somewhere, but in Column B3 to B32, if there is a 0, I will need
to delete that entire row.Thanks all for your help so far.
PS
There will be another thread started once this part of the process is sorted, more formula to convert
Column H to decimal and fractions in a certain way.
Or do I keep the same project on this thread?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
Privacy and the Real ID
by
Susan Bradley
50 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 hour, 5 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 hours, 55 minutes ago -
Upgrading from Win 10
by
WSjcgc50
2 hours, 19 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
14 hours, 16 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
15 hours, 32 minutes ago -
The story of Windows Longhorn
by
Cybertooth
3 hours, 17 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
17 hours, 31 minutes ago -
Are manuals extinct?
by
Susan Bradley
7 hours ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 2 hours ago -
Network Issue
by
Casey H
13 hours, 44 minutes ago -
Fedora Linux is now an official WSL distro
by
Alex5723
1 day, 14 hours ago -
May 2025 Office non-Security updates
by
PKCano
1 day, 15 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
1 day, 17 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
17 hours, 53 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
1 day, 19 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
1 day, 19 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 2 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
18 hours, 58 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
2 days, 13 hours ago -
How much I spent on the Mac mini
by
Will Fastie
1 day, 13 hours ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
16 hours, 59 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
2 days, 19 hours ago -
Setting up Windows 11
by
Susan Bradley
1 day, 14 hours ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
2 days, 15 hours ago -
Powershell version?
by
CWBillow
2 days, 16 hours ago -
SendTom Toys
by
CWBillow
1 day, 2 hours ago -
Add shortcut to taskbar?
by
CWBillow
2 days, 20 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
3 days, 12 hours ago -
How can I install Skype on Windows 7?
by
Help
3 days, 11 hours 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.