Excel macro to time stamp upon essbase retrieval

supershot0015

New Member
Joined
Feb 18, 2014
Messages
4
Hey everyone, my very first post (of many)!!

Hoping someone can help me come up with a macro that will time stamp a sheet upon the retrieval/refresh of essbase smartview?

thanks,

Brent
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Are you retrieving via a macro?

If so then add:

Range("a1").Value = Format(Date, "DD-MM-yy HH:MM")

where A1 is where you want the timestamp to appear.
 
Upvote 0
i have set up something similar to that in a macro, but trying to get around having the retrieval in a macro. Users are going to be hitting the refresh button in the smartview tool bar and would like to add the stamp through that somehow?!? Or, if someone retrieves a tab excel automatically stamps it.

this is what i currently have:

Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
Declare Function EssMenuVZoomIn Lib "ESSEXCLN.XLL" () As Long
Sub Retrieve()
X = EssVRetrieve("Essbase", range("A1:O15"), Empty)
ActiveSheet.Unprotect
range("c20").Value = Now()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub

thanks soggy...
 
Upvote 0
To be honest I never dabbled with the add-ins on Essbase or smart (really didn't want to corrupt them).

I had set up a few sheets that will retrieve across numerous tabs and have it formatted, unfortunately I don't work with essbase longer so I can't have a peek either. Sorry
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

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