CheckEmoji Community · the emoji forum
🏠 Home 🆕 What's new ❓ Unanswered 🔥 Popular 📡 RSS Members 👥 0 online log in · register
Home › IT › Software › Microsoft Office Q&A: Ask anything (Word, Excel, PowerPoint, etc.)

Microsoft Office Q&A: Ask anything (Word, Excel, PowerPoint, etc.)

Started by Alexander James77 · · 👁 131 views · 1.5K replies

📡 Subscribe to replies

Participants Alexander James77George Fox23Walter Jackson48Ashley Smith21Kyle Johnson2brightstag1Jack HayesJustin Moore10William Green34Keith Wells2Zachary Johnson8Dana Diaz8Frank Lee48driftingcanyon16crimsonridge44Larry Peterson30George Morris3neondrifter26Adam Watson3slyviper6Joshua Alvarez81Kevin Robinson44casualheron12brightcyclist2 …
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#741 ·
Chloe Murphy66 said:Help me out here,
I was building a Pivot Table, and I accidentally selected an entire column for one of my VLOOKUP columns that pulls from another worksheet. Now, in my main sheet where that VLOOKUP lives, everything after my actual data all the way down to the bottom is just showing #N/A errors. It’s making my file absolutely massive! How can I stop it from selecting the whole damn column?
Maybe this is a silly question, but I'm honestly stuck. 🙂


If you go under Options and click on your Pivot Table, just head over to "Change Data Source"—that's where you define the size of the Pivot Table, if I'm reading the situation right.
In that box, under the table range, it probably says something like "Sheet1!$A:$F". You should either type in the specific row number after the column letter (like $A$1:$F$500) or just use your mouse to highlight the actual data range in Sheet1 and let it auto-fill the range for you.
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#742 ·
driftingpilot8 said:Hey there!

Quick question:
How do I get rid of all these leftover table remnants (basically just Word relics) in Excel? I just want the raw numbers and data, nothing else.
I copied some stuff over from Word, but it brought all those weird formatting leftovers along with it. What's the fastest way to scrub them out?

http://imageshack.us/photo/my-images...znaslovai.png/

Maybe try using "Find & Select" -> Go To Special -> check the box for Objects
and then just hit delete.
Andrew Wells2 Andrew Wells2 Member
12 messages
joined Aug 2011
#743 ·
Honestly, I’m not totally sure if I’m even hitting the right topic here, but hopefully, I'm not completely off base either...🙂

Anyway, I could really use a little help... I downloaded a few videos from the web, and wouldn't be surprised if my laptop decided to act up again—because, let's face it, it never fails to disappoint me!🙂

The issue is that I can't get any of the videos to actually run (it just says: Windows Media Player cannot Play The file. The Player might not support the file type or might not support the codec that was used to compress the file.)

I'm thinking maybe I just need to tweak some settings within the media player since everyone else seems to be watching their movies just fine... so, if someone could kindly walk me through what to do and how to fix it, I'd be so grateful!🙂
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#744 ·
Elizabeth Brown90 said:the laptop isn't messing around

Forum Moderator??? 😢 😢 😕
Andrew Wells2 Andrew Wells2 Member
12 messages
joined Aug 2011
#745 ·
Even the best of us get carried away sometimes! But hey, if we’re strictly sticking to the rules here, I guess your post is technically off-topic...🙂
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#746 ·
Look, just try using some other software—maybe GOM, BS Player, Adobe Flash, or VLC... you’ve got plenty of options out there.
And please, don't start coming at me, because you're honestly mistaken here.
Ethan Jones5 Ethan Jones5 Active Member
132 messages
joined May 2022
#747 ·
Quick question: is there a way to convert a PDF document into Word format, and if so, how?🤷
Dana Diaz8 Dana Diaz8 Member
17 messages
joined Dec 2012
#748 ·
Ethan Jones5 said:Quick question: is it actually possible to convert a PDF back into Word, and if so, what's the best way to do it?🤷

Sure, you can find plenty of free converters online. Just type it into Google and see what comes up. Looking for an online PDF to DOC converter? Honestly, it’s one of those things that sounds simple on paper until you actually try to do it. You think you'll just drag a file into a browser, click a button, and walk away with a perfectly formatted document, right? Wrong. Most of these free web tools are a total gamble. You upload your file, pray to the tech gods, and what do you get back? A complete disaster where every image is floating in no particular place and your carefully crafted layout looks like it went through a blender. Is it really worth the headache of fixing twenty pages of broken formatting just to save a few bucks? Sometimes, you have to decide if the convenience is actually worth the inevitable frustration. Just look at what it’s going to spit out. Seriously, why bother with those sites that demand your email address? Just grab that converter code where you can simply upload your PDF and download it later without all the registration nonsense. Why make things harder than they need to be?
Ethan Jones5 Ethan Jones5 Active Member
132 messages
joined May 2022
#749 ·
Dana Diaz8 said:Sure, you can do that. There are tons of free converters online. Just search Google for pdf to doc converter online and see what comes up. My advice? Pick one where you don't have to hand over your email address—just upload the file, convert it, and download it.

Whatever.👍
David Parker44 David Parker44 Active Member
55 messages
joined Jan 2014
#750 ·
Elizabeth Brown90 said:Honestly, I have no clue if I actually hit the mark with this topic, but I don't think I completely missed the point either.🙂

So, I need a little help here... I downloaded some videos from the web, and because my laptop just can't seem to stay out of trouble, things have gone sideways again. Typical, right?🙂

So, here we go again. I can't get any videos to run. It just keeps throwing that same annoying error: Windows Media Player cannot Play The file. Apparently, The Player doesn't support the file type, or maybe it’s some codec issue? Who knows. Does anyone actually know how to fix this?

Maybe I just need to tweak some settings in Windows Media Player? It seems like everyone else is watching these movies without a hitch, yet here I am. Can someone actually tell me what needs to be done and how to do it?🙂

You’re going to need this... I can't see the link you're talking about. Where is it? Give me the link so I can actually take a look at what we're discussing here.
Daniel Thompson9 Daniel Thompson9 Member
12 messages
joined Jan 2013
#751 ·
Hey everyone!
Got a bit of a newbie question here regarding Excel.
How do I take a number like 1.55*10^-5 and flip it over to 15.5*10^-6?
I'm running Office 2010.

Thanks a million!
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#752 ·
Daniel Thompson9 said:How do I turn 1.55*10^-5 into 15.5*10^-6?

Just pop -5 or -6 into cell C1.
Code:
=1.55*10^-$C1

image
Obviously, if you need to, just divide by 100 or whatever gets you the specific result you're looking for.
Code:
=1.55*10^-$C1/100
Daniel Thompson9 Daniel Thompson9 Member
12 messages
joined Jan 2013
#753 ·
Kyle Johnson2 said:Just pop -5 or -6 into cell C1.
code : Private Sub Worksheet_Activate
Wait, hold up—are we really trying to run an equation like `=1,55*10^-$C1`?

Look, I’ve been staring at spreadsheets since I was a kid, and seeing a formula written out like that just feels... off. It’s like trying to drive a muscle car using a lawnmower engine. If you're sitting there in Excel trying to pull off some scientific notation magic, you've gotta make sure the syntax isn't tripping over itself.

In the US, we usually stick to the standard way of doing things in Excel to keep everything running smooth. If you're trying to multiply 1.55 by ten raised to the power of whatever is sitting in cell C1, you should probably format it like this: `=1.55*10^-$C1`.

See that little difference? Using a decimal point instead of a comma. It sounds like a tiny thing, but it’s the difference between a calculation that actually works and a total meltdown where Excel just stares back at you like you're speaking gibberish. Don't let a single misplaced character turn your whole workbook into a disaster zone!

image
Look, it’s totally up to you—if you need to divide by 100 or whatever number gets you to that specific result you're looking for, just go for it!
code : Private Sub Worksheet_Activate
Look, I was playing around with some formulas earlier and stumbled onto this little beast: `=1.55*10^-C1/100`.

It looks like one of those super specific math strings you'd see in a high-level finance model or maybe some heavy-duty engineering spreadsheet. You’ve got that scientific notation thing going on with the `10^-C1` part—which basically means you're taking 1.55 and scaling it down based on whatever value is sitting in cell C1. Then, to top it all off, you're dividing the whole mess by 100.

It’s like trying to calculate a tiny fraction of a percentage after applying an exponential decay. If that C1 value starts climbing, that number is going to vanish into thin air faster than my paycheck on a Friday night! Just a heads-up if you're building something complex in Excel with this—make sure your cell references are exactly where you think they are, or the whole calculation is going to go sideways.

Thanks a bunch!
casualseal29 casualseal29 Newcomer
4 messages
joined Jun 2012
#754 ·
There is likely an Excel specialist out there who can help me.😁
To be specific, I am selecting my data, but the chart is being incredibly stubborn; I have searched Google and everything else, but nothing works. I have spent two hours tinkering with Excel to no avail. While I wouldn't call myself a complete novice, I am certainly not an expert either, so I could really use some assistance. If anyone has a moment to spare, please send me a private message!
It is also possible for me to plot the graph in MATLAB. However, I am struggling with that as well, as I cannot seem to make it work using the plot command.
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#755 ·
Kyle Johnson2 is posting just above yours. You should definitely check out his pages; for GRAF, he’s already laid everything out perfectly with great diagrams.

By the way, Yubito is an absolute lifesaver when you need to search how to do things in Excel.
If you aren't a total beginner, you'll find your way around easily enough.
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#756 ·
I’m looking to implement some VBA code—let's call it the "time lock code"—for a specific Excel file that several different people use.
The main file password is something like "AB," and it stays the same for everyone all year long.
Inside, there are about 30 Sheets that are also locked with two different passwords (some might be "CD," others "EF," for example), though the actual data entry fields on those Sheets remain unlocked.

I'm weighing a few different ways to handle this:
1. Once a user enters the password "AB", they still shouldn't be able to open the file after a specific date set in the VBA code. For instance, I could set it to the last day of the quarter—so for Q2, that would be June 30th—and then I'd just manually update it every quarter.
2. Or, maybe entering password AB opens the file, but it completely disables data entry in all the free fields across all Sheets.
3. Honestly, a notification pop-up isn't strictly necessary; otherwise, I'll just get a phone call complaining that they can't enter their data! 🙂

I'd appreciate any ideas you guys have.
p.s. I won't be available to check back here until tomorrow evening.
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#757 ·
Benjamin Wilson7 said:I want to drop some VBA code, let's call it "time code", for a specific Excel file used by different people.
The file itself has an opening password, say "AB," which stays the same for everyone all year long.
The file has about 30 Sheets, and those are also locked with two different passwords (some with "CD," others with "EF," for example), but the data entry fields within those sheets are wide open.

Hard to say much without seeing a dummy version with fake data—that'd make it easier to see what you've already built. Just throwing out ideas here since my Excel 2007 is being weird and won't run Workbook_Open or Auto_Open events (no clue why)

But before I dive into the idea, you gotta consider how tech-savvy your users actually are. You really need to lock down the VBE access so nobody just snoops on your passwords; even then, anyone with enough time and brainpower can crack it.

Based on what you described, the plan is: Use certain VBA macros and VBA events

1. Set a global password for the Excel file via File => SaveAs (Tools). This is the one that pops up when you first launch the
Workbook. 2. You have 30 Sheets. Some Sheets should only be editable if you hit them with a specific password, right?
3. After a certain date, access to a specific Sheet or the whole Workbook gets cut off entirely.

There are plenty of ways to handle protecting the Workbook and Worksheets via VBA.
Here’s one way you could play it:

1. Set that global password like I mentioned, assuming there's no expiration date on the main file level.
2. Once they punch in the global password, land them right on Sheet1 so they can read instructions or whatever. To pull this off, you'll need to put something like this macro in the VBE ThisWorkbook module so it defaults to Sheet1 every time it opens.
Code:
Private Sub Workbook_Open()
Sheets("Sheet1").Activate 'lands you on Sheet1 when the workbook opens
call ProtectSheet2 'calls the protection procedure for Sheet2
Sheet2 call ProtectSheet3 'calls the protection procedure for Sheet3
Sheet3 end Sub

3. Put VBA code on all sheets that triggers a password prompt whenever someone clicks a sheet tab. Basically, when a user clicks a sheet name at the bottom of the Excel window, a dialog box pops up asking for the password before they can touch any data on that Sheet. Something like this macro:
Code:
Private Sub Worksheet_Activate() 'trigger when accessing the Sheet

Dim pasw As String, loz As String
pasw = "abc"
loz = InputBox("ENTER YOUR PASSWORD")

If loz = pasw Then
Sheets("Sheet2").Activate 'unlocks Sheet2 if password is correct
Else: MsgBox "WRONG PASSWORD", vbCritical, "Error"
Sheets("Sheet1").Activate 'kicks them back to Sheet1 if they fail
End If
End Sub

Next, inside that same Sheet's VBE right under that first macro, you’d drop in a second one to check the date. Basically, it limits access to that specific Sheet once a certain date passes. I haven't personally tested this exact combo, but check online—there's a ton of similar macros out there. Here’s what that macro looks like (this part applies to Sheet2)
Code:
Sub ProtectSheet2()
If Now() >= DateSerial(2013, 9, 14) Then
MsgBox "OK, proceed with work"
'this is where you would place the protect code
Sheets("Sheet2").Unprotect Password:="abc"
Sheets("Sheet2").Protect Password:="33"
Else: MsgBox "Access denied. Contact the author."
Exit Sub
End If
End Sub

So, this macro checks the date; if it's passed, it wipes the old password used to get in ("abc") and swaps in a new one ("33") that only you know about (keep your own 😉
records). You can set this up on all Sheets, just be careful managing which password goes where. And obviously, you'll need to trigger all those Sheet macros within the Workbook_Open event

Hopefully, that gives you a decent starting point and some direction based on what you asked.

If you want to take the global approach, it’s actually way less work. You just do this:
1. Use VBA for preventing access to Workbook
2. Set up a Macro that checks the date
But leave the Sheets themselves accessible, or maybe just set passwords for specific user groups. Also, don't forget to look into File Sharing

Now, a quick question for you.
What happens if a user just rolls back the system date on their computer?
Think about this: once that expiration message pops up for the first user, you could have a Macro automatically lock down the entire file so it won't even open.

One more thing.
What if the user just disables Macros in Excel and opens the file without any running code (like by holding down the Shift key)?
You gotta think through every loophole. Though, honestly, against a real hacker? It's probably useless. 😉
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#758 ·
Benjamin Wilson7 said:I want to set up some VBA-Ccod, calling it "time code"... Any ideas? Appreciate the help.

So, since my last post was basically just me winging it and copying unverified Macro snippets, I actually put together a real tutorial based on what you asked. Check it out.

- how to restrict access to a Workbook or Worksheet after a specific date

All you gotta do is tweak it to fit your specific situation (if you're feeling this approach) and then Google the actual Macro commands you need.
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#759 ·
Kyle Johnson2, I just got back from my trip, and man, I am starving and exhausted—honestly, I can barely keep my eyes open! But I saw your post and had to swing by quickly to see what you wrote.
I’m going to sit down tomorrow afternoon and really dig into everything you mentioned.
You shared some incredibly kind things up there; some of it I already knew and actually use, but a few of those ideas and solutions? Totally new to me.
I'll take a much closer look tomorrow and then get back to you here.
All I can say for now is a massive thank you.
It’s pretty obvious now who Toni Milun is taking inspiration from (he's an awesome guy). 🙂
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#760 ·
Kyle Johnson2, your code from the tutorial under
Preventing access to Workbook after a certain date - setting an access password
is exactly what I was looking for. I dropped it into the VBA under VBE ThisWorkbook and it works like a charm! The file format is xlsm.

A slightly funny question:
Since I'm the one who built the program, if I use the code above with something like: deadline = DateSerial(2010, 5, 30) (a date in the past), how can I get back into the program to change that expiration date? (Unless I have a master template set for, say, 2030, and then make copies with shorter lifespans). I can't even open the test version anymore!

Other details:
1. Other users don't have permission to change the system date or time—only the admin does—so that shouldn't be an issue for me.
2. All 30 Sheets (which aren't "very hidden," though they are) are locked except for the input fields (unlocked). So, for this specific program, I don't need people typing in passwords for every single sheet (that would be such a pain!), and there's no risk involved. It’s enough for the Workbook to just close itself after a certain date; I still want to keep the code for individual sheets because I use them for other projects.
3. In the editor, you can't get to the modules or any other VBA stuff without the access code.
4. As far as hacking goes, I know Excel isn't exactly a high-security bank vault, but for this level of use, it’s more than sufficient.

Your TUT is amazing, truly top-tier work.
A huge THANK YOU.

Actually, I'll just change the system date. I'm smart enough for that. So, forget my silly question—I clearly had a momentary brain fart.

You must log in or register to reply here.

Log in Register

🔗 Similar threads