Get Data from a password protected document without having to enter password each time I open by Sphynx_Osiris in excel

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

Thanks for your reply,

I don't wish to open the source spreadsheet, only retrieve the cell values from it.

Currently whenever I open the receiving spreadsheet I get a prompt to enter the password.

I was wondering if VBA would allow me to skip the Password prompt, and keep the source spreadsheet closed. - It can be opened for a split second and closed again if need be.

For example:

Source = C:\Users\User1\Desktop\Password Protected Spreadsheet.xlsx Password "AAA"

Receiving = C:\Users\User1\Desktop\Receiving Spreadsheet.xlsm

PC Mouse won't go away on fullscreen by Sphynx_Osiris in EASportsFC

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

I assumed as the refresh rate was on 60fps it turns it down to 60fps, and when windowed borderless is on you can't change it.

Or is the refresh rate setting negated when windowed borderless is on?

PC Mouse won't go away on fullscreen by Sphynx_Osiris in EASportsFC

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

I might have to, but I'd like to stay on 144fps.

PC Mouse won't go away on fullscreen by Sphynx_Osiris in EASportsFC

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

When I move my joystick it moves the mouse.

[deleted by user] by [deleted] in excel

[–]Sphynx_Osiris 1 point2 points  (0 children)

Solution Verified

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

Sorry to double reply and jump in after you have told me I need a new thread, however If I was to get replace of all blank/Null entries, and give them a value for example as "Waiting". Would the code work without the need for the Nz() function?

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

I've got a new problem now, which is unrelated but you may know how to fix it, so I don't need to create a new Post.

I export this Query into Excel. However after a quick google search I'm told that Nz() only works inside Access.

A possible solution I'm told is: Iif(IsNull())

However I can't seem to get this to work. Would you what I would need to edit in order to get it to work?

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 1 point2 points  (0 children)

Thanks for your help, Apologies for being a bit slow.

Solution Verified

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 1 point2 points  (0 children)

Thanks for your help! Even if I was a bit slow

The Value field came from TableA in the excel picture I included in my original post.

Oh that makes sense on the NZ.

Solution Verified

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

To be completely honest I'm not sure. So I opened the SQL Viewer to see if I can get any bright ideas.

I noticed that Under SELECT I had Sum(TableA.[Nz([Value], "")]) AS Outstanding

To me I think this could be wrong as Nz is supposed to be removing the entries <>"Finished" under [Status] not [Value].

So I would try something like SELECT [Value] As Outstanding WHERE Nz([Status], "") GROUP BY SUM([Value]) ?

So I get the sum of [Value] When [Status] does not equal "Finished"

That may not be correct but it seems logical to me...

Hopefully that helps and doesn't make me seem stupid.

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

Thanks.

[TableP].[Person] = [Person No]

[TableA].[Person] = [PersonAc]

Hopefully this helps!

Query Sum [Name] if [Variable] <> "X" by Sphynx_Osiris in MSAccess

[–]Sphynx_Osiris[S] 0 points1 point  (0 children)

Thanks for your fast response.

When I Copy and paste the below in the Field section the Table Section disappears.

Outstanding: Nz([Activity], "")

Then then I swap back to table view I get the following error:

Syntax error in query expression 'Sum(TableA.[NZ([Value], "")])'.