+ Reply to Thread
Results 1 to 8 of 8

getting error 70 permission denied on userform

  1. #1
    Forum Contributor
    Join Date
    03-10-2017
    Location
    USA
    MS-Off Ver
    office 2016
    Posts
    393

    getting error 70 permission denied on userform

    I found out how to put graphs on a userform and used their code. But when I run the macro i get a error 70. I followed the code progression and it errors at

    Please Login or Register  to view this content.
    If i run program as admin it works but I dont want to have to do this if possible. Here is all the code just in case its helpful. Any ideas how to get it to work without admin permission?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: getting error 70 permission denied on userform

    Sometimes the dreaded permission error occurs when you have set a controls properties in the controls properties window, and also trying to programmatically change the same control.

  3. #3
    Forum Contributor
    Join Date
    03-10-2017
    Location
    USA
    MS-Off Ver
    office 2016
    Posts
    393

    Re: getting error 70 permission denied on userform

    I tried to reset all properties and settings but no luck. Is there a expert trick to debugging this? All I can see is its bugging when it tries to save the graph as a pic.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: getting error 70 permission denied on userform

    You may have to supply a sample in order for somebody to step through the code.

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,909

    Re: getting error 70 permission denied on userform

    I'd suspect it's the User Account Control stopping you from writing to the root of C: - try writing to the folder the workbook is in.
    Last edited by rorya; 03-01-2019 at 12:22 PM. Reason: typo
    Rory

  6. #6
    Forum Contributor
    Join Date
    03-10-2017
    Location
    USA
    MS-Off Ver
    office 2016
    Posts
    393

    Re: getting error 70 permission denied on userform

    great. Here is a copy that has the same issue. It has to be macro enabled.
    Attached Files Attached Files

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: getting error 70 permission denied on userform

    @rorya suggestion is most likely the correct one.

    Change to this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    03-10-2017
    Location
    USA
    MS-Off Ver
    office 2016
    Posts
    393

    Re: getting error 70 permission denied on userform

    that was it... thx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to fix runtime error 70 permission denied ?
    By TR16238 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-05-2017, 02:13 AM
  2. How to fix runtime error 70 permission denied ?
    By TR16238 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-05-2017, 02:11 AM
  3. How to fix runtime error 70 permission denied ?
    By TR16238 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-05-2017, 02:09 AM
  4. Run-time Error '70': Permission Denied
    By phiko73 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-12-2016, 01:27 AM
  5. [SOLVED] Error 70 'Permission Denied' when Pasting
    By Contigo1234 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-05-2013, 03:46 AM
  6. Run time error 70 Permission denied.
    By sagar.rajula in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2013, 11:50 AM
  7. [SOLVED] error 70 - Permission denied
    By MT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2005, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1