Copy and Paste a range of cells into DBRW
Copy and Paste a range of cells into DBRW
Hi guys....not sure if this has already been posted before. Is there any way to copy and paste a range of cells into a DBRW range of cells? Thanks in advance.
- John Hobson
- Site Admin
- Posts: 330
- Joined: Sun May 11, 2008 4:58 pm
- OLAP Product: Any
- Version: 1.0
- Excel Version: 2020
- Location: Lytham UK
- Contact:
Re: Copy and Paste a range of cells into DBRW
You need to write a little bit of VBA code that
* captures the copy value
* loops through the target range
* retrieves the element co-ordinates on a cell by cell basis using the parameters of the DBRW formula
* does a DBS of the copy value using those co-ordinates
* replaces the DBRW formula
* moves to the next cell
It's fairly trivial. ISTR that something has been posted here before that did this.
Edit - perhaps less trivial range to range than cell to range but still quite doable
* captures the copy value
* loops through the target range
* retrieves the element co-ordinates on a cell by cell basis using the parameters of the DBRW formula
* does a DBS of the copy value using those co-ordinates
* replaces the DBRW formula
* moves to the next cell
It's fairly trivial. ISTR that something has been posted here before that did this.
Edit - perhaps less trivial range to range than cell to range but still quite doable
John Hobson
The Planning Factory
The Planning Factory
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: Copy and Paste a range of cells into DBRW
Rashed
You can write your own as John suggested. Cubewise do a tool that will do this. The Beachware tool did it a long time ago, but I am not sure if it is still around. Applix bought Beachware a long time ago so I am not sure why this feature never made it in to the product.
Other alternatives are to use the Cube Viewer, TM1 Web or the In-Spreadsheet Browser, neither of which use DBRW. However, the ISB is being dropped after version 9.4.
Regards
Paul
You can write your own as John suggested. Cubewise do a tool that will do this. The Beachware tool did it a long time ago, but I am not sure if it is still around. Applix bought Beachware a long time ago so I am not sure why this feature never made it in to the product.
Other alternatives are to use the Cube Viewer, TM1 Web or the In-Spreadsheet Browser, neither of which use DBRW. However, the ISB is being dropped after version 9.4.
Regards
Paul
-
- Site Admin
- Posts: 6643
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Copy and Paste a range of cells into DBRW
As per John's comment, VBA will do it for you. It's also part of one of the packages put out by SPF (http://www.spfplus.com/), which may be worth looking at if you have the need.Rashed wrote:Hi guys....not sure if this has already been posted before. Is there any way to copy and paste a range of cells into a DBRW range of cells? Thanks in advance.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Re: Copy and Paste a range of cells into DBRW
Thanks Guys...this forum is awsome!!!!
-
- Site Admin
- Posts: 6643
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Copy and Paste a range of cells into DBRW
I wouldn't say that in front of Johann Potgieter if I were you... not unless you're wearing gridiron padding.PaulSimon wrote:You can write your own as John suggested. Cubewise do a tool that will do this. The Beachware tool did it a long time ago, but I am not sure if it is still around. Applix bought Beachware a long time ago
Beachware is what became SPF.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
- John Hobson
- Site Admin
- Posts: 330
- Joined: Sun May 11, 2008 4:58 pm
- OLAP Product: Any
- Version: 1.0
- Excel Version: 2020
- Location: Lytham UK
- Contact:
Re: Copy and Paste a range of cells into DBRW
Yes if memory serves me well didn't someone buy the name but forgot to buy the product or something or was it the other way round.
It's a long time ago but there was a funny story there somewhere...
SPF was/is quite a neat tool. (Neat at that UI level that Applix never ever managed to get right or copy properly.)
It's a long time ago but there was a funny story there somewhere...
SPF was/is quite a neat tool. (Neat at that UI level that Applix never ever managed to get right or copy properly.)
John Hobson
The Planning Factory
The Planning Factory
- Steve Rowe
- Site Admin
- Posts: 2455
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: Copy and Paste a range of cells into DBRW
You can also consider using DBS(W) for sending the data in. SInce the source is ordinary excel you can copy and paste to your hearts content then.
Cheers,
Cheers,
Technical Director
www.infocat.co.uk
www.infocat.co.uk