Resize to show all values

  • Thread starter Thread starter Legacy 185509
  • Start date Start date
L

Legacy 185509

Guest
Hi
I am using some addon to get some values into the cell from some server,
everytime I clear that cells and click get data I get this on cell instead of the data "Resize to show all values" so what I would have to do is click on that cell after what addon box on right side will open on automatically and in that box I have to click apply or ok for it to get the data is there better way do this, I have over 200 cells like this if i do for all 200 cells I will be dead
plz help
addon is call PI system/historian
thank you
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
You added the PIDLDialogs.xla as a reference (in VBA go to Tools>Reference>Check/Add) in Visual Basic and then tried this code?

Code:
Private AutoUpdate()

Range("A1:E1000").Call dlresize 
`Change range above to your desired range
End Sub

Because what that link said was that there is a built-in program within the PI software that fixes your problem. You have to add a link (reference) so VBA can access and utilize it.
 
Last edited:
Upvote 0
nvm I was able to click on it after reopening it
I found the file and I clicked the check box and inserted the code you gave

Private AutoUpdate()

Range("J1").Call dlresize
`Change range above to your desired range
End Sub
I get compiling error for that,
and for
Call dlresize
End Sub
I try to run this I get this error "DLresize:1004: No cells were found."
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top