-
lmandel
AskWoody LoungerThank you very much for your offer. Let me see what we can do. Issue is that data populating this report is filled with confidential patient information (we are a hospital). Will see what we can do.
Larry
-
lmandel
AskWoody LoungerI’m getting the same error when replacing
ActiveSheet.Name = “Med1S”
with
Sheets(“Med1S”).Activate
This is the larger context of the code. I appreciate your help – any other ideas?
============================
SkipMeas = False
ActiveWorkbook.Worksheets(“Report – Service”).Select
SvcName = ActiveSheet.Range(“rngSNServ”)
Range(“F11”).Select
If ActiveCell.Offset(0, -2).Value > 0 Then
Selection.ShowDetail = True
‘Set names
Sheets(“Med1S”).Activate
TableName = ActiveSheet.ListObjects(1).Name
If IsEmpty(Range(“A2”)) Then BlankCopy = 1 Else BlankCopy = 0
Columns(“AY:AY”).Select
Selection.Cut
Columns(“K:K”).Select
Selection.Insert shift:=xlToRight
Sheets(“Med1S”).ListObjects(TableName).Range.Columns(“G:K”).Select
Edit to remove HTML
-
lmandel
AskWoody LoungerThanks – I was not clear in my description. We are just using the statement
ActiveSheet.Name = “Med1S”
to make the sheet “Med1S” active so we can move data to it. I’ll change the syntax and see how it works!
Thanks again!!
EDIT html to text (if using Word to copy, save as .txt before pasting, to avoid that)
-
lmandel
AskWoody LoungerThis is great – is it possible to display images that are separate .jpg files? I want to create a file with photos of students interviewing with different companies. There are several hundred students and it would be easier (and have a much smaller file) if the final spreadsheet did not contains all the photos.
Thanks.
Larry
-
lmandel
AskWoody LoungerThanks Rory – I was afraid of that!
Larry
-
lmandel
AskWoody LoungerRory,
That’s what I was afraid of – thanks!
Larry
-
lmandel
AskWoody LoungerNovember 24, 2009 at 12:58 pm in reply to: Store names of .jpgs instead of storing .jpgs in #1186627thanks Hans – sorry – could find this when searching. I’ll try to do better next time.
Larry
-
lmandel
AskWoody LoungerAugust 26, 2009 at 10:47 pm in reply to: Display .jpg files in Access 2007 reports and form #1175164Thanks Hans (Duh!! I must have created the database in 2003 before the upgrade). Anyway, the attachement type works perfectly. Thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you – thank you!
Larry
I forgot to mention that you can only create an attachment field in a database in the new .accdb database format.
In a database in .mdb format, you should *not* store images (unless they are small in number and size) – it leads to incredible bloating of the file size.
You should store the path/filename in a text field instead, and use an unbound image control to display the images. See [post=”788517″]Post 788517[/post]. -
lmandel
AskWoody LoungerHow do you create an attachment field – it’s not one of the standard data types (text, memo, number, date/time, currency, autonumber, yes/no, OLE object, hyperlink) – or is it the hyperlink field pointing to the file?
Thanks.
Larry
-
lmandel
AskWoody LoungerThanks – Outlook 2007 was loaded onto the same PC that ran Outlook 2003 – I’ll check to see if the file is there. Will copying this file allow modifying the macros on the “Add-ins” ribbon?
Larry
Find a PC with Outlook 2003.
Edit the toolbar.
Copy the Outcmd.dat file from the PC with Outlook 2003 to the PC with Outlook 2007.
The file is stored in C:Documents and SettingsApplication DataMicrosoftOutlook (in Windows XP) or C:UsersAppDataRoamingMicrosoftOutlook (in Windows Vista). -
lmandel
AskWoody LoungerWhat would you want the QAT button to do? A worksheet function is not something you can “run” or “execute” like a macro.
I’d like to fill a cell with a function that I use all the time instead of typing or selecting it.
Thanks.
-
lmandel
AskWoody LoungerI will work on the PC – here is another questinon –
What keys should be used to select non-contiguous cells on a Mac?
Thanks.
-
lmandel
AskWoody LoungerWhen I try to select the second set of cells, the first set of cells is no longer selected – is there a configuration problem?
-
lmandel
AskWoody LoungerThanks Hans – this is very helpful. I’ll planning to build the vCal file and then attach. I was looking around on the Microsoft MSN libraries at http://msdn.microsoft.com/en-us/library/aa…office.11).aspx and found this code, but I get an error message (“Object variable or With block variable not set”) when I try to run it. Thanks again! Larry
Original code:
Set myItem = myOlApp.CreateItem(olAppointmentItem)
myItem.MeetingStatus = olMeeting
myItem.Subject = “Strategy Meeting”
myItem.Location = “Conference Room B”
myItem.Start = #9/24/97 1:30:00 PM#
myItem.Duration = 90
Set myRequiredAttendee = myItem.Recipients.Add(“Nate _
Sun”)
myRequiredAttendee.Type = olRequired
Set myOptionalAttendee = myItem.Recipients.Add(“Kevin _
Kennedy”)
myOptionalAttendee.Type = olOptional
Set myResourceAttendee = _
myItem.Recipients.Add(“Conference Room B”)
myResourceAttendee.Type = olResource
myItem.SendMy code:
Dim myOlApp As Object
Dim myItem As Outlook.MeetingItem – **** I’ve tried this with Outlook.AppointmentItem also
Dim myDelegate As Outlook.Recipients
Set myItem = myOlApp.CreateItem(olAppointmentItem)
myItem.MeetingStatus = olMeeting
myItem.Subject = “Strategy Meeting”
myItem.Location = “Conference Room B”
myItem.Start = #9/24/2008 1:30:00 PM#
myItem.Duration = 15Set myRequiredAttendee = myItem.Recipients.Add(“test@microsoft.com”)
myItem.Send -
lmandel
AskWoody LoungerThanks Hans!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
![]() |
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
-
Tools to support internet discussions
by
Kathy Stevens
1 hour, 34 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
2 hours, 33 minutes ago -
AI is good sometimes
by
Susan Bradley
3 hours, 41 minutes ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
4 hours, 43 minutes ago -
LibreOffice 25.8. No Windows 7, 8/8.1, x86
by
Alex5723
2 hours, 51 minutes ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
23 hours, 42 minutes ago -
June KB5060842 update broke DHCP server service
by
Alex5723
22 hours, 14 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
1 day, 2 hours ago -
Excessive security alerts
by
WSSebastian42
3 hours, 13 minutes ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
1 day, 11 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
18 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
22 hours, 53 minutes ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
5 hours, 27 minutes ago -
OS news from WWDC 2025
by
Will Fastie
2 hours, 49 minutes ago -
Need help with graphics…
by
WSBatBytes
7 hours, 3 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
2 days, 3 hours ago -
Totally remove or disable BitLocker
by
CWBillow
1 day, 2 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
1 day, 5 hours ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Search Forums only bring up my posts?
by
Deo
8 hours, 25 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
3 days, 1 hour ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
2 days, 18 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
3 days, 2 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
3 days, 12 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
3 days, 13 hours ago -
Disengage Bitlocker
by
CWBillow
3 days, 3 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
3 days, 15 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
8 hours, 29 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
3 days, 22 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
3 days, 22 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.