|
-
Apr 20th, 2010, 10:11 AM
#1
Thread Starter
Lively Member
[RESOLVED] Use Spreasheet control instead of MSHFlexgrid
I've had many problems with MSHFlexgrid because of the updates, I already tryed many things, for example I registered it, put the DWord value as 0 in regedit, changed UAC values, etc, and nothing works. I still get the "The subject is not trusted for the specified action" message.
So I decided to replace MSHFlexgrid control for Spreadsheet control.
I use the control in a userform in a Excel file, and the control is only going to display data.
Any comments or suggestions?
-
Apr 20th, 2010, 10:25 AM
#2
Re: Use Spreasheet control instead of MSHFlexgrid
Just curious... Why not a listview? If it is just for displaying data?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Apr 20th, 2010, 03:25 PM
#3
Thread Starter
Lively Member
Re: Use Spreasheet control instead of MSHFlexgrid
I haven't worked much with Spreadsheet or Listview controls, but I believe in this case I would have to rewrite less code using Spreadsheet, specially using Cells() method, but this is just my opinion and as I said I don't much experience with these controls.....any advice is welcomed.
Do you think in the future I may have the same kind of problems I had with MSHFlexgrid if I use Spreadsheet control...
thanks
-
Apr 21st, 2010, 02:48 AM
#4
Re: Use Spreasheet control instead of MSHFlexgrid
Angava, there is no problem in using the spreadsheet control. It's just that it is more complex than a Listview control...
No you won't have any problems with Spreadsheet control as you had with MSHFlexgrid control...
What exactly do you want to do?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Apr 21st, 2010, 05:36 PM
#5
Thread Starter
Lively Member
Re: Use Spreasheet control instead of MSHFlexgrid
I am working in a spreadsheet that makes calculations and displays the data from the calculations, but it doesn't connect to any database.
So far spreadsheet control has worked fine, I just haven't been able to find a method to change the columnwidth during runtime, any suggestions?
thanks again
-
Apr 22nd, 2010, 01:34 AM
#6
Re: Use Spreasheet control instead of MSHFlexgrid
 Originally Posted by angava
... I just haven't been able to find a method to change the columnwidth during runtime, any suggestions?
thanks again
Code:
Private Sub CommandButton1_Click()
'~~> Spreadsheet1 is the name of the spreadsheet control
Spreadsheet1.Columns(1).ColumnWidth = 15
End Sub
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Apr 22nd, 2010, 10:46 AM
#7
Thread Starter
Lively Member
Re: Use Spreasheet control instead of MSHFlexgrid
-
Apr 22nd, 2010, 11:35 AM
#8
Thread Starter
Lively Member
Re: [RESOLVED] Use Spreasheet control instead of MSHFlexgrid
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|