-
WScatoothaker
AskWoody LoungerThanks, Hans.
After reading the link and fumbling around quite a bit, I still cannot figure out how to copy the holidays. I found the Outlook.hol file and modified it to contain only US holidays and made it an Excel file. However, I could not Import it. When the Import wizard asked for me to Select a Destination, the Public Folders were not there to select.
I’m sorry for being so dense …
–cat
-
WScatoothaker
AskWoody LoungerThank you very much, Hans.
-
WScatoothaker
AskWoody LoungerSorry, Legare … I forgot to add that the users will be trained to select entire rows (and the rows will always be contiguous). What I actually needed was a row count of this row selection.
Thank you both for your help …
–Cindy -
WScatoothaker
AskWoody LoungerThanks, Steve. That works. But even better, the Selection.Rows.Count is actually what I’m after (i was going to calculate it by EndRow-StartRow)!
Thank you,
–cat -
WScatoothaker
AskWoody LoungerApril 7, 2006 at 5:13 pm in reply to: Columns as Numbers instead of Letters (Excel 2000 or 2003) #1008854Thank you both every so much.
I can now “count” columns AND shorten my code tremendously by not selecting the sheet first!!!
I am learning so much from this site!
–cat
-
WScatoothaker
AskWoody LoungerThat did it !!!
You’re wonderful
–cat -
WScatoothaker
AskWoody LoungerHi Hans (and others) …
I used the workaround solution noted in your link regarding Runtime Error 1004 …
This workaround has you create an excel template with that sheet in it (the sheet I was trying to ‘copy’ in the first place)
And, you perform a “Sheets.Add Type:=pathfilename …. instead of the copy.Well, it works fine. No crashes and completes the job.
But, it is very, very slow because it appears to be performing a virus scan (so says the Status Bar) each time it adds that sheet via the Type method.
In my (close to an upper-limit) case, the sheet was added via the Type method 144 times and took about 10 minutes …Perhaps, I can turn off “Virus Scan” for this particular template ??? … but, that just sounds wrong. And, if it was easy, it would also sound scary.
Any suggestions … otherwise I will live with this performance issue since it is only used once per project ..
Thanks,
–cat -
WScatoothaker
AskWoody LoungerThank you, Hans.
It is not the first post (re the Sheet11111111) … however, it is excactly the Runtime Error 1004 issue.
I will try saving the file during this. If you don’t hear from me again … it will be working.Thank you, again.
–cat -
WScatoothaker
AskWoody LoungerHi Hans,
In another macro, the formula “=E8” was placed in cell AH3. Please note, though, that E8 is not always constant .
The formula was placed using:
Range(“AH3”).formula = “=E” & nextrow
to place the formula.
Now, I need to know that row number …
I cannot get to this macro in order to keep track of the row number when the link is placed in cell AH3 … which would be the best way to do this.So, I was wondering if there is a way to “pull” the row number out of the formula. The “E” will always be the same …
Does any of this make any sense?
Thank you very much for your time and effort …
–cat
-
WScatoothaker
AskWoody LoungerHi Catherine,
The Row function gives me the number 3 … since the cell is AG3.
I need to grab the ‘8’ from the formula ‘=E8’
Thanks,
–cat -
WScatoothaker
AskWoody LoungerThank you, Jan, for figuring out why the long way didn’t work for me …
–cat
-
WScatoothaker
AskWoody LoungerThanks, Steve,
Defining the name the shorter way … works! The other way didn’t work with or without the sheet name.
Again, I’m in debt …
–cat -
WScatoothaker
AskWoody LoungerDon’t worry about this one, please. I have figured another way to do the same thing …
Thanks,
–cat -
WScatoothaker
AskWoody LoungerMarch 25, 2006 at 4:57 pm in reply to: VBA using Names in Vlookup Range Argument (Excel 2000 or 2003) #1006719Thank you both, Hans and Steve, this is what I needed!
–cat -
WScatoothaker
AskWoody LoungerThank you thank you thank you, Hans
That worked wonderfully …
–cat
![]() |
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
-
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
1 hour, 9 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
11 hours, 29 minutes ago -
Office apps read-only for family members
by
b
14 hours, 5 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
10 hours, 57 minutes ago -
24H2??
by
CWBillow
1 hour, 8 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
22 hours, 50 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
16 hours, 4 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
10 hours, 53 minutes ago -
two pages side by side land scape
by
marc
2 days, 11 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 14 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 16 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 19 hours ago -
April 2025 updates out
by
Susan Bradley
36 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 12 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 3 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 5 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
17 hours, 37 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 8 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 12 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 14 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 12 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 5 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 11 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 17 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
11 hours, 2 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 1 hour ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 10 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 10 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 19 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
5 days, 3 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.