Not working excel with VBA

mcsmba1

New member
Local time
2:57 AM
Messages
14
I enable administrator built in account and when logged in as other user which has also administrator rights, my excel with VBA is not working properly, if i logged in as Administrator its working fine. What can i do so my other user will also use excel just like administrator without any problem?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 32x
CPU
3.2 MHz
Memory
2 GB
Monitor(s) Displays
Dell LCD 19"
Hard Drives
250 GB
Mouse
Dell
Browser
Safari
Can any body help me,
I enabled all macros in macro setting by going through File->Options -> trust center-> trust center setting
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 32x
CPU
3.2 MHz
Memory
2 GB
Monitor(s) Displays
Dell LCD 19"
Hard Drives
250 GB
Mouse
Dell
Browser
Safari

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built using existing case
OS
Windows 7 Home Premium 64 bit sp1
CPU
Intel i5 3570 3.4Ghz Ivy Bridge SKT 1155 quad core
Motherboard
Gigabyte Z77-HD3 SKT 1155 2xSata 3, 4x USB 3.0
Memory
G-Skill Rip Jaws 16Gb (8x2) DDR3 -1600 PC3 12800 CL 10 red
Graphics Card(s)
Gigabyte NVIDIA GT610 1Gb DDR3 810/1200 PCI-E 2.0 Silent
Sound Card
NVIDIA High Definition & Realtech High Definition Audio
Monitor(s) Displays
2 x Philips 226V4L 16:9 aspect ratio
Screen Resolution
1920 x 1080 HD
Hard Drives
Samsung 840 Pro 256gb SSD, SATA 3.
Hitachi Touro Portable 1tb, USB 3.0 HDD used for image b/ups.
PSU
Corsair VS450
Case
Codeng
Cooling
PSU fan & CPU fan
Keyboard
Logitech
Mouse
Logitech Wireless trackball M570
Internet Speed
Wireless 3G. 3mg down & 550kb up.
Antivirus
Bitdefender Internet Security 2020
Browser
Opera (Current Version) & Firefox
Other Info
MS Office 2013 Pro. Davis weather station software. MGE Nova 600 avr UPS.
Thanx for reply, i have already done these things as mentioned in this page, but problem has not solved yet.
Before enabling administrator account it was running fine, but after enabling admin a/c other user is not able to do work in VBA used excel sheet..........
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 32x
CPU
3.2 MHz
Memory
2 GB
Monitor(s) Displays
Dell LCD 19"
Hard Drives
250 GB
Mouse
Dell
Browser
Safari
VBA problème in windows 7

hello
I have an Excel VBA macro (office 2010), he worked on the Platform (Windows XP – 32), but after his migration to another system (Windows 7-64) it gives me the following compilation error: “project or library not found”
I tried to change the location of the dll used to the folder: Windows \ SysWOW64, but it did not work, when I tested step by step I found that the source of the error is the property : EXTRA.System. ActiveSession. Screen

Here's the code where I have the problem:
Code:
[FONT=Arial][COLOR=#222222][COLOR=#777777][FONT=Arial]'Modules sur la recherche de Contrat[/FONT][/COLOR]
 
 
[COLOR=#777777][FONT=Arial]Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" _[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   (ByVal lpBuffer As String, nSize As Long) As Long[/FONT][/COLOR]
 
[COLOR=#777777][FONT=Arial]   'Public Declare Function GetUserName Lib "C:\Windows\SysWOW64\advapi32.dll" Alias "GetUserNameA" _[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   '(ByVal lpBuffer As String, nSize As Long) As Long[/FONT][/COLOR]
 
[COLOR=#777777][FONT=Arial]Global g_HostSettleTime%[/FONT][/COLOR]
 
 
[COLOR=#777777][FONT=Arial]Public Sub Recherche_contrat()[/FONT][/COLOR]
 
[COLOR=#777777][FONT=Arial]Dim Sys As Object, Sess0 As Object, MyScreen As Object, MyArea As Object[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]Dim tmp$[/FONT][/COLOR]
 
[COLOR=#777777][FONT=Arial]   Set Sys = CreateObject("EXTRA.System")   ' Gets the system object[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   g_HostSettleTime = 200     ' milliseconds[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   Set Sess0 = Sys.ActiveSession[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   'MsgBox ("it's work ")[/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]   Set Myscreen0 = Sess0.screen  [COLOR=#777777][FONT=Arial]'[/FONT][/COLOR][COLOR=#777777][FONT=Wingdings][FONT=Wingdings]ß[/FONT][/FONT][/COLOR][COLOR=#777777][FONT=Arial]this is exacly the  source of problem[/FONT][/COLOR][/FONT][/COLOR]
[COLOR=#777777][FONT=Arial]End Sub[/FONT][/COLOR]
[/COLOR][/FONT]


If anyone can help me I would appreciate His response.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Entreprise x64
Back
Top